User command

Fairlight fairlite at fairlite.com
Fri Mar 5 17:20:20 PST 2004


>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.

mark->
-- 
Bring the web-enabling power of OneGate to -your- filePro applications today!

Try the live filePro-based, OneGate-enabled demo at the following URL:
               http://www2.onnik.com/~fairlite/flfssindex.html


More information about the Filepro-list mailing list