User command
Bill Vermillion
fp at wjv.com
Sat Mar 6 02:58:36 PST 2004
On Fri, Mar 05, 2004 at 08:20:20PM -0500, Fairlight thus spoke:
> >From inside the gravity well of a singularity, Bob Stockler shouted:
> > PS - On SCO UNIX . . . may be whoami on Linux.
> Or BSD. Or any BSD variant. In fact, the only place I can
> remember seeing it with 'who' using 'am' and 'i' as arguments
> is on SCO, although I admit to never having -tried- it on AIX
> or HP/UX.
> Hmmm...Solaris gives me just 'fairlite' for `whoami`, but
> `who am i` results in the full line with the terminal. It
> has dual BSD and SysV behaviour. Ah, because `whoami` is in
> /usr/ucb/bin, which is the repository on SysV systems for BSD
> programs, whereas the expanded form is from /bin/who.
> It's really a SysV vs BSD issue.
Current FBSD does have 'who am i', and the 'who' man page
says that the 'am i' argument to 'who' is equivalent to '-m'
Either gives the same result.
'whoami' - while operable, is listed as obsolete and is
replaced by the 'id' utility.
Bill
--
Bill Vermillion - bv @ wjv . com
More information about the Filepro-list
mailing list