目前分類:Linux/Unix (12)

瀏覽方式: 標題列表 簡短摘要

ssh -X username@server.ip


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

cat * > merged_file.txt

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

壓縮:

tar -cvzf F1.tar.gz F2.txt F3.txt

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

Error:

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

in .cshrc

 

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

cvs status

列出所有檔案目前版本的status, status的種類可見:

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

Code Meaning Description
? 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.

http://www.xinotes.org/notes/note/116/


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

Error Message:

 

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

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

  • Press the "Escape" key to enter command mode.
  • Press the double-quote character (") to enable pasting from a buffer or register

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

make -n

Displays commands, but does not run them. However, lines beginning with a + (plus sign) are executed.

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