Linux Classes
Share This With a Friend  

who command help

       who - show who is logged on


       who [OPTION]... [ FILE | ARG1 ARG2 ]


       -H, --heading
              print line of column headings
       -i, -u, --idle
              add user idle time as HOURS:MINUTES, . or old
       -l, --lookup
              attempt to canonicalize hostnames via DNS
       -m     only hostname and user associated with stdin
       -q, --count
              all login names and number of users logged on
       -s     (ignored)
       -T, -w, --mesg
              add user's message status as +, - or ?
              same as -T
              same as -T
       --help display this help and exit
              output version information and exit
       If    FILE    is   not   specified,   use   /var/run/utmp.
       /var/log/wtmp as FILE is common.  If ARG1 ARG2  given,  -m
       presumed: `am i' or `mom likes' are usual.


       Report bugs to <>.


       The  full documentation for who is maintained as a Texinfo
       manual.   If  the  info  and  who  programs  are  properly
       installed at your site, the command
              info who
       should give you access to the complete manual.
       Copyright © 1999 Free Software Foundation, Inc.
       This  is  free software; see the source for copying condi­
       tions.  There is NO warranty; not even for MERCHANTABILITY


Comments - most recent first
(Please feel free to answer questions posted by others!)

Shellie     (09 Apr 2012, 19:51)
The functionality of the 'who' command on my server has changed. Up until about 6 weeks ago it worked the way it should. Now when I issue 'who' I do not see the other logged in users. I only see the user I am logged in as.

This server is a virtual server in hosted environment. So, I not necessarily informed about all the server admin activity that goes on.

I inquired with the appropriate tech support, but was blown off with a response that suggested our version of Linux (a fairly current versions of RHEL) might not support the 'who' command. I say hogwash. I am absolutely certain that I have used the command successfully in the not too distant past and certainly in our RHEL environment.

Do you have any suggestions for what might cause this change?

Many thanks,


I welcome your comments. However... I am puzzled by many people who say "Please send me the Linux tutorial." This website *is* your Linux Tutorial! Read everything here, learn all you can, ask questions if you like. But don't ask me to send what you already have. :-)

NO SPAM! If you post garbage, it will be deleted, and you will be banned.
Notify me about new comments on this page
Hide my email

Ask Bob Rankin - Free Tech Support

Copyright © by - Privacy Policy
All rights reserved - Redistribution is allowed only with permission.