Skip to content

Instantly share code, notes, and snippets.

@OndeVai
Last active December 4, 2018 20:37
Show Gist options
  • Save OndeVai/2ac5e165284e24fbb4641c7c08a4536b to your computer and use it in GitHub Desktop.
Save OndeVai/2ac5e165284e24fbb4641c7c08a4536b to your computer and use it in GitHub Desktop.
Mac/Bash Cheatsheet
//delete folder terminal
git rm -rf [folder]
//show hidden files in finder
CMD + SHIFT + .
//view one or more file contents
cat [file1.ext] [file2.ext]
//tail logs (get only the tail end of log file)
tail -f file.txt
//zip a file
zip [whatever.zip] filetozip.txt
//delete in front
ctrl + D
//go to beginning
ctrl + A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment