how to see hidden files in mac terminal code example
Example 1: how to view hidden files in mac terminal
defaults write com.apple.finder AppleShowAllFiles YES
Example 2: mac show hidden files
>> To show hidden files, hold down: Cmd + Shift + . (dot)
>> Hold down Cmd + Shift + . (dot) a second time to hide the files again.