-bash-3.00# who
pedro   pts/1        Aug 20 12:35    (172.16.2.80)
pedro   pts/2        Aug 20 13:06    (172.16.2.80)
-bash-3.00# w
  2:32pm  up  2:02,  2 users,  load average: 0.46, 0.46, 0.42
User     tty           login@  idle   JCPU   PCPU  what
pedro  pts/1        12:35pm    50  21:16     14  sysbench --test=oltp --oltp-tabl
pedro  pts/2         1:06pm            1         -bash
Current Terminal Session:
-bash-3.00# tty
/dev/pts/2
-bash-3.00#
w/who – reveals currently opened ttys/pts (pseudo-terminals)
tty – reveals the current tty
Basic Shell Commands:
pwd
List Directory using long format reveals type, permissions, timestamp info, size
-bash-3.00# ls -lF || ls -F
total 40
drwxr-xr-x   3 root     root         512 Aug 18 13:10 InstallShield/
-rw-r--r--   1 root     root       18665 Aug 11 22:21 servicios.txt
echo $? Returns the exit status of recently-executed command
touch – creates a zero lenght file and optionally atlers timestamp
Common Pagers:
more, less
wc – counts words in documents and lines