Sample Header Ad - 728x90

How can I prevent 'grep' from showing up in ps results?

421 votes
19 answers
247240 views
When I search for some process that doesn't exist, e.g. $ ps aux | grep fnord wayne 15745 0.0 0.0 13580 928 pts/6 S+ 03:58 0:00 grep fnord Obviously I don't care about grep - that makes as much sense as searching for the ps process! How can I prevent grep from showing up in the results?
Asked by Wayne Werner (12123 rep)
Apr 30, 2013, 01:44 PM
Last activity: Nov 2, 2024, 06:46 PM