lsof
http://www.cnblogs.com/rootq/articles/1401850.html
free
http://www.cnblogs.com/chenrj/archive/2009/02/06/1385183.html
vi
http://www.cnblogs.com/chenrj/archive/2008/08/28/1278893.html
2>&1
檔案描述符通常是:STDIN,STDOUT,STDERR,即:0,1,2
把標準錯誤輸出重新導向>,通過後台&,放到標準輸出所在的地方
wc
計算字數:
-c或--bytes或--chars 只顯示Bytes數。
-l或--lines 只顯示列數。
-w或--words 只顯示字數。
rpm
http://www.linuxsir.org/main/?q=node/50
export & setenv
設定環境變數
export is used by sh and ksh shells.
setenv is used by csh.
The syntax also differs for both.
Code:
export key=value
setenv key value
watch
周期性執行某個命令,並全屏動態更新顯示。參數:
-d, --differences[=cumulative] 高亮顯示變動
-n, --interval= 周期(秒)
如:
1)查看網口流量:
watch -n 1 "/sbin/ifconfig eth0 | grep bytes"
2)查看網路TCP串連情況:
watch -n 1 -d netstat -ant
vmstat
http://www.cnblogs.com/bianxq/archive/2009/04/15/1436413.html
top
http://blog.csdn.net/sanshiqiduer/archive/2007/12/13/1933625.aspx