[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash, expressions, ???



On Sun  5 Jan 2003 22:08:39 +0000(+0100), Michael Naumann wrote:
> 
> Nice trick. I usually used
> ps ax | grep lpd | grep -v grep
> but with that trick, I can shortcut things from now on.

A nifty alternative is
pgrep -l lpd
although its output is briefer than ps's.
pgrep is in the procps package.

-- 
Cheers,
Clive



Reply to: