linux命令知多少(不斷更新中……)

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.