> Moe Trin wrote:
>
>> What distribution/release? 'pgrep' (and 'pkill') are Solaris 7
>> programs that were added to the procps source about five years ago.
>> http://procps.sourceforge.net
>
> I get the impression that he was being sarcastic in showing that "not
> everyone has this installed", and the other solution was fine, rather
> than expecting people to have this installed (I'm sure he could find it
> and install it if he wanted), but I could be mistaken?
Probably, but that doesn't mean that one cannot install it.
And the ps|grep solution was not 100% correct anyway. See here:
http://mywiki.wooledge.org/BashFAQ/033
the part about parsing the output of ps.