Last active
December 4, 2018 20:37
-
-
Save OndeVai/2ac5e165284e24fbb4641c7c08a4536b to your computer and use it in GitHub Desktop.
Mac/Bash Cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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