Useful Mac Commands

Having recently joined the dark side and purchased a Mac Mini, there are a few Terminal commands I find myself needing regularly, but always forgetting. So I’ll keep them here.

Note: MacOS is really Linux…. but we don’t tell the Apple Fanboys that – they’d get confused!

 

1. Show hidden files in the finder

$ defaults write com.apple.finder AppleShowAllFiles True
$ Killall Finder

2. Hide hidden files in the finder (the opposite of the above)

$ defaults write com.apple.finder AppleShowAllFiles False
$ Killall Finder

(the $ indicates the command prompt)

About Peter Connolly

Pete Connolly is Technical Director at KP Direction LLC. An experienced IT Manager and PHP developer, Peter is currently develops leading-edge Drupal solutions for companies that you'll have heard of, if only we could tell you who they are. More..