[sf-lug] ps and grep

Tom Haddon tom at greenleaftech.net
Thu Mar 6 17:17:32 PST 2008

Bit of an elementary question, this, but can someone remind me why: 

ps fuwxx | grep <something>

returns "grep <something>" in the list if finds? Intuition would suggest
that the ps is happening first, and so the grep command wouldn't show in
the list. One of those things that was explained to me once, but seems
to have slipped through my sieve-like memory...

Cheers, Tom

More information about the sf-lug mailing list