Bill Moseley wrote:
> Also, ps is always showing the UID # instead of the name. Shouldn't
> that come from /etc/passwd?
>
> $ fgrep 112 /etc/passwd
> subversion:x:112:112:subversion:/var/lib/projects:/bin/sh
$ printf subversion | wc -c
10
ps displays the uid because the user name is longer than
Ruben Porras wrote:
> so, echo $SHELL seems not to be reliable, how could I now which shell I
> am using? (Imagine you need to know in a script)?
I'm doing:
ps -p $$
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
2 matches
Mail list logo