Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 689 Bytes

017-the-who-command.md

File metadata and controls

34 lines (23 loc) · 689 Bytes

The who command

The who command lets you print out list of logged in users, current run level of the system and time of last system boot.

Examples

  1. Print out all details of currently logged in users
who -a  
  1. Print out the list of all dead processes
who -d -H

Syntax:

who [options] [filename] 

Additional Flags and their Functionalities

Short Flag Description
-r prints all the current runlevel
-d print all the dead processes
-q print all the login names and total number of logged on users
-h print the heading of the columns displayed
-b print the time of last system boot