Terminal Commands Flashcards
Current Directory
Current folder that this terminal resides in. Commands entered and files modified are scoped to this folder. A tilde (~) indicates the user’s home directory
Prompt
$
ls
list all files and folders in current directory
cd [directory name]
change directories
cd ..
go back up one directory
Tab key
Press once for terminal guess
Press twice for list of possibilities
sudo
elevated privileges command prepend
sudo apt purge [application]
remove a program and its configuration files from computer
sudo apt policy
list information about the package
man sudo
man command is short for manual. man typed in front of any command will provide manual
sudo apt update
tell system to search for potential updates and advise if available, does not install updates
sudo apt upgrade
will download and apply any updates to system76 computer
sudo apt full-upgrade
will upgrade our packages and installs or remove packages to resolve dependencies so everything is up to date
sudo apt install [application]
install a particular application and its dependencies
command + –help
quickly reference all options for a known command in current terminal session ( cd –help )