To show all files in Finder, copy this line of code into a terminal and execute it.
$ defaults write com.apple.finder AppleShowAllFiles 1
To revert the changes back to normal, execute the command above, but change
Finder needs to be restarted in order to let it know of the changes we made.
$ killall Finder