ssh -X username@server.ip
目前分類:Linux/Unix (12)
- Oct 24 Tue 2017 11:13
[linux] connect to another server with local display (連到另一台主機, 同時把Display參數帶過去)
- Jul 09 Wed 2014 11:25
How to merge all text fils in any directory to one single file?
cat * >
merged_file.txt
- Mar 03 Mon 2014 11:02
tar gzip 壓縮/解壓縮指令
- Jan 22 Wed 2014 11:50
[Linux] mksh: Fatal error: Cannot load command `./abc': Bad file number
Error:
- Nov 26 Tue 2013 18:00
Auto list possible selections in Linux
- Nov 14 Thu 2013 16:01
CVS Commands
- Sep 13 Thu 2012 12:17
cvs update output message
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/
- Sep 07 Fri 2012 19:26
gcc compile error
- Aug 29 Wed 2012 11:35
ls directories only
ls -l | grep '^d'
- Aug 21 Tue 2012 20:07
Linux 如何比較兩個資料夾內的所有檔案 (Linux command to compare all files in two directories)
diff -qr dirA dirB |grep -v -e keyword1 -e keyword2 |sort > diffs.txt
diff -r : recursively compare all files and files in subdirectories
- Aug 20 Mon 2012 15:36
如何將剪貼簿的資料用vi貼上到某個檔案 (paste from clipboard to vi)
- Press the "Escape" key to enter command mode.
-
Press the double-quote character (") to enable pasting from a buffer or register
- Dec 22 Thu 2011 10:38
make & makefile
make -n
Displays commands, but does not run them. However, lines beginning with a + (plus sign) are executed.