Bash Keyboard Shortcuts Moving the cursor: Ctrl + a Go to the beginning of the line (Home) Ctrl + e Go to the End of the line (End) Ctrl + p Previous command (Up arrow) Ctrl + n Next command (Down arrow) Alt + b Back (left) one word Alt + f Forward (right) one […]
Using Find When no arguments are given, find lists all files in the current directory and all of its subdirectories. Commonly used options to shorten the list include -name (only list files with a certain pattern in their name), -iname (also ignore the case of file names), and -type (which will restrict the results to files of a certain specified type, such as d for directory, l for symbolic […]
Turn Time Machine ON sudo tmutil enable Turn Time Machine OFF sudo tmutil disable
How to block Facebook and other domains with the Hosts file in Mac OS X: This works in all versions of Mac OS X.
I use this one a lot, use this on the command line to copy a file or folder. The -r is recursive so it will include the all files in a directory/folder. The -v is verbose so you can watch the command line fill with the file paths as they are being copied. cp -v -r […]
This command will recursively remove ACL’s from your files. chmod -RN /path/to/directory