The Finder by default does not show hidden files [clip], to show what to do?
To display, you can either GUI (graphic user interface) and CLI (command line interface) two ways
Cli:
command to display Mac hidden files: Defaults write Com.apple.finder appleshowallfiles-bool true
command to hide Mac hidden files: Defaults write Com.apple.finder Appleshowallfiles-bool false
For convenience, add the command to the. Bash_profile
show= ' defaults write Com.apple.finder appleshowallfiles-bool true '
Hide= ' Defaults write Com.apple.finder appleshowallfiles-bool false '
Just like Ubuntu has a configured viewer, Mac is of course the case
Click Finder, press Control (^) +shift+g, enter/library/preferences, find Com.apple.finder.plist file, open with Xcode.app, modify.
GUI: (OnyX) parameters->finder-> Misc. options-> Show hidden files and folders
Published at 2015.1.9 environment:mac OS Yosemite 10.10.1/2 IMac
Reference:
1. http://www.cnblogs.com/lm3515/archive/2010/12/08/1900271.html
2. http://tynetwork.blog.163.com/blog/static/169130247201073113315474/
Mac OS Finder: Show and hide files [clip] show and hide files or folders