Show hidden files in finder macOS
Copy into the terminal without quotations.
" defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder /System/Library/CoreServices/Finder.app'
You will now see hidden files in finder.
To set it back run the same command but replace the TRUE variable with FALSE.