How do I find out who is logged in on my system?
You can find out about logged in users either by running
who
(Sample output:
server:~# who root pts/0 Nov 12 11:28 (192.168.0.202)
)
or
w
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 192.168.0.202 11:28 0.00s 0.08s 0.01s w