Killing process w/o number (csh)
Mike Oliver
moliver at shadow.pyramid.com
Fri Apr 26 05:37:23 AEST 1991
In article <1991Apr24.214750.24522 at athena.mit.edu> jik at athena.mit.edu (Jonathan I. Kamens) writes:
>In article <+-A_7A#@warwick.ac.uk>, cudcv at warwick.ac.uk (Rob McMahon) writes:
>|> I've always wondered why people always do this rather than
>|>
>|> ps axc | grep sysline
>
>Because the 'c' option to grep isn't universally supported.
That's what I said in e-mail, but Rob pointed out that the original use
of `ps -ax' probably means that this is a BSD system which will also
understand the `-c' option.
The giveaway is that the AT&T `ps' doesn't support `-x'. (Of course,
it's always possible that there's some weird variant of a `ps' out
there that accepts `-ax' and doesn't accept `-axc'. I don't know of
one.)
As an aside - if you're on an AT&T system, `ps -e' produces something
that looks a lot like the Berkeley `ps -axc'.
Cheers, Mike.
moliver at pyramid.com
{allegra,decwrl,hplabs,munnari,sun,utai,uunet}!pyramid!moliver
More information about the Comp.unix.shell
mailing list