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
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.
Count logged-in users along with one line list of users
To show the dead processes.
To see active processes spawned by init, use the -p option.
$tail -5 .bashrc
If you like dEexams.com and would like to contribute, you can write your article here or mail your article to email@example.com . See your article appearing on the dEexams.com main page and help others to learn.