Who
'who' prints information about a users who are presently logged on. If given no non-option arguments,
'who' prints the subsequent information for every user which are presently logged on: login name, login time, terminal line and remote hostname or X display. who command enables you to search out the users on the system.
Syntax
Options
who [OPTION] [am i]
-H - heading print line of column headings
-I - adds user idle time as HOURS: MINUTES or old
-q - counts and prints only the login names and the number of users logged on.
Who am i
It displays the present username, date, terminal type, and login time
Practice 1
The given example displays the usage of who command.
# who
root pts/0 May 15 13:37
sunil pts/1 May 15 16:44
ajay pts/2 May 15 17:12
oracle pts/3 May 15 17:12
The above instance displays the list of users' information.