Re: Shared memory - using ps(1)

2006-05-01 Thread Danijel Tasov
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

Re: which shell I'm using?

2004-03-03 Thread Danijel Tasov
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]