APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

2003/12/09 who

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.




Increase ad revenue 50-250% with Ezoic


More Articles by

Find me on Google+

© Tony Lawrence



Kerio Samepage


Have you tried Searching this site?

Support Rates

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





There is no reason anyone would want a computer in their home. (Ken Olson, president, chairman and founder of DEC)





This post tagged: