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
uname -i
hardware platform
uname -o
OS
uname -a
displays all system info
exec
run executable file
man (command)
manual
HISTSIZE or HISTFILESIZE
1000 history entries may be configured
HISTCONTROL
controls how history is stored
pwd
print working directory
man -k (term looking for)
allows search across multiple items, using specific keyword
apropos
same as man -k