shell commands Flashcards
1
Q
Alt-Fx(1-7)
A
open new shell prompt session
2
Q
halt
A
os shut down
3
Q
reboot
A
reboot (root)
4
Q
init 0
A
(root) shut down
5
Q
init 6
A
(root) shut down
6
Q
shutdown
A
shutdown
7
Q
exit
A
terminate shell prompt
8
Q
su
A
switch user
9
Q
su -
A
switch to root directory
10
Q
env
A
displays the environment variables for the current logged in user
11
Q
echo
A
prints the variable (fex:$PATH) will show path
12
Q
top
A
all applications and processes running on the system
13
Q
which
A
displays full path to shell command or utility(fex: which ls)
14
Q
whoami
A
displays username of currently logged in user
15
Q
netstat
A
displays network status, current connections, routing tables