usunyu   Stay hungry. Stay foolish.

Show hidden files on macOS

Show hidden files:

$ defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

Hide hidden files:

$ defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder

Reference: