Basic Linux commands
From Oxxus Wiki
Basic Linux commands are explained so you can know your way around the box.
uptime - shows you how long the server has been active and server load at the current moment, as well as the average load during the longer period.
[root@test ~]# uptime 01:40:36 up 3 days, 1:46, 1 user, load average: 0.08, 0.02, 0.01
who - will give you list of users and their hostnames who are logged in on the server
[root@test ~]# who root pts/0 2011-04-18 01:40 (test.oxxus.net)
w - is basically a combination of who, uptime and current process user is running
[root@test ~]# w 01:42:49 up 3 days, 1:48, 1 user, load average: 0.01, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 test.oxxus.net 01:40 0.00s 0.02s 0.00s w