Created
July 25, 2017 18:51
-
-
Save hsquareweb/d8546b52e6002ae4436f551087d1c039 to your computer and use it in GitHub Desktop.
Mac Terminal Tricks
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
//Autohide Dock Speed | |
$ defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -float 0.5 | |
$ killall Dock | |
//Add spacers to your Dock | |
$ defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' | |
$ killall Dock | |
//Changing screenshots from the default png to jpg format | |
$ defaults write com.apple.screencapture type jpg | |
//Change screenshots location | |
$ defaults write com.apple.screencapture /path/to/location | |
$ killall SystemUIServer | |
//Show Hidden Files and Folders | |
$ defaults write com.apple.finder AppleShowAllFiles -bool TRUE | |
$ killall Finder | |
//Check the Uptime Of Your Mac | |
$ uptime | |
//Prevent Mac From Sleeping with time param | |
$ caffeinate -u -t 600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment