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

2003/12/09 who


© December 2003 Tony Lawrence

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.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> who, w


Inexpensive and informative Apple related e-books:

Are Your Bits Flipped?

Take Control of Pages

Take Control of Apple Mail, Third Edition

El Capitan: A Take Control Crash Course

Take Control of Parallels Desktop 12




More Articles by © Tony Lawrence




Printer Friendly Version

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





A blow from your friend is better than a kiss from your enemy. (Pythagoras)




Linux posts

Troubleshooting posts


This post tagged:

Scripting

Shell

UnixWords



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com