shell commands Flashcards
Alt-Fx(1-7)
open new shell prompt session
halt
os shut down
reboot
reboot (root)
init 0
(root) shut down
init 6
(root) shut down
shutdown
shutdown
exit
terminate shell prompt
su
switch user
su -
switch to root directory
env
displays the environment variables for the current logged in user
echo
prints the variable (fex:$PATH) will show path
top
all applications and processes running on the system
which
displays full path to shell command or utility(fex: which ls)
whoami
displays username of currently logged in user
netstat
displays network status, current connections, routing tables
route
to view or manipulate systems routing table
ifconfig
same as ipconfig
uname
displays info about Linux system
uname -s
displays Linux kernel’s name
uname -n
displ. the systems host name
uname -r
kernel release number
uname -v
kernel version number
uname -m
system’s hardware architecture
uname -p
processor type