Run the following shell commands to show all the hidden files in Apple Finder.
The defaults command will adjust the respective configuration, and killall stops
the Finder process to force a restart.
$ defaults write com.apple.finder AppleShowAllFiles -boolean true && killall Finder
To hide the files again change