How do I find out who is logged in on my system?

Want to support HowtoForge? Become a subscriber!
Submitted by admin (Contact Author) (Forums) on Mon, 2006-08-07 17:23. :: Shell

You can find out about logged in users either by running


(Sample output:

server:~# who
root     pts/0        Nov 12 11:28 (




which gives more detailed output:

server:~# w
 11:29:49 up  2:19,  1 user,  load average: 0.02, 0.01, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    11:28    0.00s  0.08s  0.01s w

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.