[Cialug] 'whoami' versus 'who am i',
or Identity crisis in Linux-Land
Jeff Chapin
chapinjeff at gmail.com
Mon Jul 21 16:03:07 CDT 2008
Aw... that makes this less fun. I found this buried down in a ksh script
that did some logging, and needed to log the real user behind the
keyboard running the command, and not just who they were currently
pretending to be, and thought that this was pretty clever...
Turns out it is clever... but lazy.
Jeff
David Champion wrote:
> Colin Burnett wrote:
>> On Mon, Jul 21, 2008 at 3:36 PM, Jeff Chapin <chapinjeff at gmail.com>
>> wrote:
>>
>>> I have no idea why I get such a kick out of this command, other than
>>> the
>>> fact that it looks like it should not be a real command.
>>>
>>
>> `who mom likes`
>>
> Looks like any iteration of "who foo bar" returns what Jeff discovered
> with "who am i". So "who are you" returns the same as "who am i". If
> you do "who a b" it returns the result, but "who a" returns nothing.
>
> -dc
>
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list