I use the common Linux command who all the time, have for years. When I’m logged in as various users on various systems, sometimes I forget who I logged in as. I typically use ‘who am i’ to remind me.
Turns out that who, at least on Linux will respond to ‘who yo daddy’ or ‘who yo mama’ the same way, just as ‘who am i’ or ‘who -m’.
There’s your amusing easter egg for today.
[glporter@maroon ~]$ whoami glporter [glporter@maroon ~]$ who am i glporter pts/1 2010-09-08 08:53 (:0.0) [glporter@maroon ~]$ who -m glporter pts/1 2010-09-08 08:53 (:0.0) [glporter@maroon ~]$ who yo [glporter@maroon ~]$ who yo daddy glporter pts/1 2010-09-08 08:53 (:0.0) [glporter@maroon ~]$ who yo mama glporter pts/1 2010-09-08 08:53 (:0.0) [glporter@maroon ~]$ who yo pretty_much_any_string glporter pts/1 2010-09-08 08:53 (:0.0)
Tried this today on (real) Solaris 10 on SPARC. Worked there as well.