Mac Newer
press cmd + shift + .
Mac Older
1. execute in terminal
sudo defaults write com.apple.finder AppleShowAllFiles YES sudo defaults write com.apple.finder AppleShowAllFiles TRUE
2. close all Finder Applications
killall Finder
or Relaunch Finder
Hold alt/option and right click Finder, then relaunch