[SGVLUG] Who am I?
David Lawyer
dave at lafn.org
Sat Nov 5 00:24:44 PST 2005
On Fri, Nov 04, 2005 at 10:04:02AM -0800, Bao C. Ha wrote:
> Ah! I thought is was a trick question.
>
> bao at saigon:~$ who am i
The command is whoami. The above command is just "who" with 2 arguments
that are ignored due to the permissiveness of the who command which I
don't agree with. There's enough to learn in Linux without having
commands that just to be cute behave in a non-standard way. They even
point out this permissiveness in the man page but if you dare give 3
or more arguments you get an error message.
> bao pts/0 Oct 29 00:39 (rrcs-24-199-20-182.west.biz.rr.com)
> bao at saigon:~$ who mom likes
> bao pts/0 Oct 29 00:39 (rrcs-24-199-20-182.west.biz.rr.com)
>
> Bao
>
[snip]
David Lawyer
More information about the SGVLUG
mailing list