in reply to Re: Re: What shell am I running?
in thread What shell am I running?
You can shave one char off of that; the -l doesn't do anything. Other then that, I think that's as short as it gets for shells that set ${SHELL} (which is POSIX, I think). (Note that the original isn't portable past whatever Unix they were using; ps's format isn't portable at least to my Linux. For that matter, mine doesn't need the -p parameter.)
Thanks,
James Mastros,
Just Another Perl Scribe
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re4: What shell am I running?
by blakem (Monsignor) on Nov 17, 2001 at 07:22 UTC |