who command without argument will show the details about the users who are logged-in and system details.
$who pts/0 -> logged-in from another system : ip address details after date and time :0 -> logged in console : date and time
Display the account information with column names
$who -H
To show only hostname and user associated with stdin.
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
To know system run state.
$who -r
Count logged-in users along with one line list of users
$who -q
To show the dead processes.
$who -d
To see active processes spawned by init, use the -p option.
$who -p
$tail -5 .bashrc
If you like dEexams.com and would like to contribute, you can write your article here or mail your article to admin@deexams.com . See your article appearing on the dEexams.com main page and help others to learn.