I'm regularly suprised to find Unix/Linux folk who don't know "w" as a replacement for "who": less typing, and more information. If you don't know about this, try it - you'll like it.
The Posix compliant way to say "who am i" is "who -m", which works on most modern systems.
Although "who" looks at utmp by default, you can tell it to look elsewhere (wtmp, most likely). That can sometimes be useful, though "last" is more apt to be used for that.
Got something to add? Send me email.
More Articles by Tony Lawrence © 2011-07-06 Tony Lawrence
A blow from your friend is better than a kiss from your enemy. (Pythagoras)
Printer Friendly Version
who Copyright © December 2003 Tony Lawrence
Have you tried Searching this site?
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.
Contact us
Printer Friendly Version