Blog

Handy Command Line Tips for Mac OSX

Download a File from the Web & Watch Progress
#curl -O url
example: #curl -O http://get.adoberader.com/reader/…
Be sure to use the full URL. Also, remember to use the upper case ‘O’ and not the lowercase ‘o’ to keep the same file name on your local machine.
Instantly Create a Blank File or Multiple Files
#touch filename
example: touch index.html gallery.html about.html
Speed Up Mission Control Animations
#defaults write com.apple.dock expose-animation-duration -float 0.15;killall Dock
How to Delete All DS_Store Files from a Mac
#sudo find / -name “.DS_Store” -depth -exec rm {} \;
Sleep a Mac from the Command Line
#pmset sleepnow

0
  Related Posts
  • No related posts found.