ssh -X username@server.ip

bamil 發表在 痞客邦 留言(0) 人氣()

cat * > merged_file.txt

bamil 發表在 痞客邦 留言(0) 人氣()

壓縮:
tar -cvzf F1.tar.gz F2.txt F3.txt
( 將 F2.txt 與 F3.txt 打包壓縮在 F1.tar.gz )

bamil 發表在 痞客邦 留言(0) 人氣()

Error:
mksh: Fatal error: Cannot load command `./abc': Bad file number
Solution:
chmod u+x abc

bamil 發表在 痞客邦 留言(0) 人氣()

in .cshrc
 
set filec
set autolist
or
ctrl-D

bamil 發表在 痞客邦 留言(0) 人氣()

cvs status
列出所有檔案目前版本的status, status的種類可見:
http://www.network-theory.co.uk/docs/cvsmanual/Filestatus.html
 

bamil 發表在 痞客邦 留言(0) 人氣()



CodeMeaningDescription

?
what?
It's not a file in CVS. CVS knows nothing about this file


A
Added
This is a file you just added to CVS but not yet committed. You have to commit it before others can see it.


C
Conflicted
A Conflict occurred when you did CVS update. The conflicted lines are marked with special characters and you need to manually resolve the conflicts.


M
Modified
You have modified this file. It's different from what's in CVS and you need to commit (check in) the file to persist your changes in CVS


P
Patched
This file was patched when you did CVS update. The effect is the same as U (update), but the changes were so small that CVS decided to send a patch (P) instead of a whole file (U).


U
Updated
This file was updated when you ran CVS update. It could be a file that already existed on the local drive, or a new file brought down from the CVS repository.


R
Removed
You asked CVS to remove this file but you haven't committed the removal.


bamil 發表在 痞客邦 留言(0) 人氣()

Error Message:
 
AABBCC.o: In function `XXYYZZ':
AABBCC.c:(.text+0x6e): relocation truncated to fit: R_X86_64_PC32 against symbol `XD' defined in COMMON section in DDEEFF.o

bamil 發表在 痞客邦 留言(0) 人氣()

ls -l | grep '^d'

bamil 發表在 痞客邦 留言(0) 人氣()

diff -qr dirA dirB |grep -v -e keyword1 -e keyword2 |sort > diffs.txt
 
diff -r : recursively compare all files and files in subdirectories
diff -q : output only whether files differ

bamil 發表在 痞客邦 留言(2) 人氣()


Press the "Escape" key to enter command mode.



Press the double-quote character (") to enable pasting from a buffer or register








Press the asterisk key (*) to select the system clipboard as the buffer from which to paste.








Press "p" to paste the text from the clipboard





bamil 發表在 痞客邦 留言(0) 人氣()

make -n
Displays commands, but does not run them. However, lines beginning with a + (plus sign) are executed.
http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds3%2Fmake.htm

bamil 發表在 痞客邦 留言(0) 人氣()

1
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。