pwd
current location
ls
directories
cd
move to
-
back
pushd
teleport to
popd
pop back
/
home
touch
rename or create
cat
shows content of small files, multiple files can be printed
mv
moves file to dir
cp
copy file to destination file
rmdir
delete empty dir
rm remove -R
removes all files and folders in the dir
ls -l
permissions and owners
sudo chown “user” “filename”
change ownership
nano ”filename"
opens file in terminal with nano options
sudo softwareupdate -i -a
download updates and install
sudo softwareupdate -l
shows all pending updates
sudo softwareupdate -d downloads
but doesn't install updates