Try it here
who command

Unix who command



who command without argument will show the details about the users who are logged-in and system details.


pts/0 -> logged-in from another system : ip address details after date and time
:0 ->  logged in console : date and time

who -H

Display the account information with column names

$who -H

who -m

To show only hostname and user associated with stdin.

who -b

To know when the system was last booted.Adding the -u option allows for listing of logged on users in the same output.

$who -b
$who -bu

who -r

To know system run state.

$who -r

who -q

Count logged-in users along with one line list of users

$who -q

who -d

To show the dead processes.

$who -d

who -p

To see active processes spawned by init, use the -p option.

$who -p

Aliases crested for who command

$tail -5 .bashrc

Writer profile pic

Uk01 on Oct 20, 2015 at 12:10 am

If you like and would like to contribute, you can write your article here or mail your article to . See your article appearing on the main page and help others to learn.

Post Comment

Comments( 0)


Forgot Password

Please enter your email address below and we will send you information to change your password.