- Oct 24 Tue 2017 11:13
-
[linux] connect to another server with local display (連到另一台主機, 同時把Display參數帶過去)
ssh -X username@server.ip
- 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:
mksh: Fatal error: Cannot load command `./abc': Bad file number
Solution:
chmod u+x abc
mksh: Fatal error: Cannot load command `./abc': Bad file number
Solution:
chmod u+x abc
- Nov 26 Tue 2013 18:00
-
Auto list possible selections in Linux
- Nov 14 Thu 2013 16:01
-
CVS Commands
cvs status
列出所有檔案目前版本的status, status的種類可見:
http://www.network-theory.co.uk/docs/cvsmanual/Filestatus.html
列出所有檔案目前版本的status, status的種類可見:
http://www.network-theory.co.uk/docs/cvsmanual/Filestatus.html
- Sep 13 Thu 2012 12:17
-
cvs update output message
- Sep 07 Fri 2012 19:26
-
gcc compile error
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
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
- 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.txtdiff -r : recursively compare all files and files in subdirectories
diff -q : output only whether files differ
- 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
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
- 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.
http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds3%2Fmake.htm
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
1