I stumbled across a blog that mentioned the following command.
who mom likes
It appears to be equivalent to
who am i
The author warns to never enter the following into the command line (I suspect he is being facetious)
who mom hates
There is nothing documented about the mom
command. What does it do?
Best Answer
Yes it's a joke, included in by the developers of the
who
command. See the man page forwho
.excerpt
This U&L Q&A titled: What is a "non-option argument"? explains some of the terminology from the man page and my answer also covers alternatives to
who .. ...
. commands.Details
There really isn't anything special about
am I
oram i
. Thewho
command is designed to return the same results for any 2 arguments. Actually it behaves as if you called it with its-m
switch.Examples
Other implementations
If you take a look at The Heirloom Project, you can gain access to an older implementation of
who
.The man page that comes with this
who
in this distribution also has the same "feature", except it's more obvious.