Unix/Linux Go Back    

Unix Version 7 - man page for who (v7 section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

WHO(1)											   WHO(1)

       who  -  who is on the system

       who [ who-file ] [ am I ]

       Who,  without  an  argument,  lists the login name, terminal name, and login time for each
       current UNIX user.

       Without an argument, who examines the /etc/utmp file to obtain its information.	If a file
       is  given,  that  file is examined.  Typically the given file will be /usr/adm/wtmp, which
       contains a record of all the logins since it was created.  Then who lists logins, logouts,
       and  crashes  since  the  creation of the wtmp file.  Each login is listed with user name,
       terminal name (with `/dev/' suppressed), and date and time.  When an  argument  is  given,
       logouts	produce  a  similar line without a user name.  Reboots produce a line with `x' in
       the place of the device name, and a fossil time indicative of when the system went down.

       With two arguments, as in `who am I' (and also `who are	you'),	who  tells  who  you  are
       logged in as.


       getuid(2), utmp(5)

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 08:55 PM.