linux下使用grep命令檢視程序的方法:執行【ps -ef | grep xxx】命令即可檢視程序。ps命令用於顯示程序,grep命令用於全域性正則匹配並輸出。
檢視程序命令:
(視訊教學分享:)
ps -ef | grep xxx
ps: process show 展示程序
引數:
e 顯示所有程式。
f 顯示UID,PPIP,C與STIME欄位
grep:global search regular expression(RE) and print out the line 全域性正則匹配並輸出
相關推薦:
以上就是linux下如何使用grep命令檢視程序的詳細內容,更多請關注TW511.COM其它相關文章!