[PS,GREP] Exclude grep from your grepped output of ps.

This commit is contained in:
ImmortalPC
2014-03-07 14:52:50 +01:00
parent f3342373cd
commit c0a51a2d0f
2 changed files with 8 additions and 0 deletions

View File

@ -9,3 +9,7 @@ ps -aufoouser
# To list every process with a user-defined format:
ps -eo pid,user,command
# Exclude grep from your grepped output of ps.
# Add [] to the first letter. Ex: sshd -> [s]shd
ps aux | grep '[h]ttpd'