I'm trying to find a Linux equivalent of running who -m
in Unix. In Unix, who -m
gives the first user ID you used to log in, before starting any new shell sessions through su
, etc.
The -m
switch to who
has a different effect in Linux, and I'm unable to find anything relevant to my needs in the man pages so far.