WHO(1)
NAME
who − who is on the system
USAGE
who [-a]
who am I
DESCRIPTION
Who is a program that lists users logged into a single node, or to all nodes on the network. It can also be used to find out who the system thinks you are (if, for example, you run login(1) and become someone else).
OPTIONS
When you invoke who with no argument, it lists all users logged into your node. This includes the user who most recently logged into the DM, users logged in via rlogin, and users logged in via SIO lines.
-a lists the log-in name and node ID of each user currently logged into the Display Manager on each node on the network.
who am I returns your current user id, node name, and node id. The forms “who am i” and even “who are you” are equivalent.
EXAMPLES
% who bob ttyp1 Dec 3 11:48(vax_1) % who -a bob node1054 john node2CBC freddy node4B7 braf node5FE bcbell node2A64 rm node706 % who am I xnode!bob node1054 %
NOTES
Who treats the DM as a single display, so if you run login in a shell managed by the DM, the person you log in as replaces the person who last logged into the DM or any shell window. After you log out of a DM shell window, who continues to report that the person you were logged in as is logged into the DM.