who -m is the same as
who am i is the same as
who mom likes
(at least, on a debian sarge system - MacOSX 10.4.2 only supports the first two variants).
Each returns the current stdin user info of username, connected port/tty, and time of connection (and connected network address, if applicable).
whoami, the form I grew up with, appears to be a restricted subset that just returns the username for stdin.Posted by esinclai at October 13, 2005 09:11 PM |