Linux Commands Flashcards
what is the kill command?
kill / stops proccess
kill processID
kills the process listed
what does the command shutdown do?
shuts down the computer with a 1 minute timer.
shutdown - c
cancel shutdown
shutdown -r
shutdown computer and reboot
shutdown now
shutdown right now with no timer
apt-get
opens the apt repository
sudo apt-get update
update apt-get
sudo apt-get sudo install programname
install a program
sudo apt-get upgrade
how to upgrade all of the apps
sudo apt-get remove programname
how do you remove a program
ps
processes
ps aux
shows all processes with details for all users
chmod
change permissions
what order are file permissions listed?
user
group
other
what numbers are assigned to each of the types of permissions?
- r=4
- w=2
- x=1