System Administration Guide, Volume I

How to Determine Who Is Logged in to a System

  1. Log into the system to be shut down.

  2. Display logged-in users with the who command.


    $ who
    

Example--Determining Who Is Logged in to a System

The following example displays the output of the who command.


$ who
 [Identifies the username of the logged-in user. ] holly [Identifies the terminal line of the logged-in user. ]           console  May  7 07:30
 [Identifies the date and time the user logged in. ] kryten    pts/0    May  7 07:35	(starbug)
 [(Optional) Identifies the host name if a user is logged in from a remote system.  ] lister    pts/1    May  7 07:40	(bluemidget)