2014年9月30日 星期二

Linux常用指令

ps 指令

ps aux
觀察系統所有的程序資料

ps -l
僅列出與你的操作環境 (bash) 有關的程序而已

ps -A
ps-e
所有的process均顯示出來

ps -f
顯示更完整的process輸出


finde 指令

find /var/log -iname '*.log' -type f
指定只要搜尋「檔案」名稱

find /etc -iname 'apache2' -type d
指定只要搜尋「目錄」名稱

沒有留言:

張貼留言