In Finder, press Command + Shift + .
In Finder, open the View menu and choose Show View Options if needed
Use Terminal and run: defaults write com.apple.finder AppleShowAllFiles -bool true
Restart Finder with: killall Finder
To hide files again, run: defaults write com.apple.finder AppleShowAllFiles -bool false
Restart Finder again with: killall Finder
