In the Mac OS X operating system of apple, there are many ways to hide the display of files. The simplest method is to enter commands on the Mac terminal. The command for displaying/hiding a Mac hidden file is as follows (note the spaces and make them case sensitive ):Command for displaying Mac hidden files: Defaults write com. Apple. Finder appleshowallfiles-bool true
Command for hiding Mac hidden files: Defaults write com. Apple. Finder appleshowallfiles-bool false
Or
Command for displaying hidden Mac files: Defaults write com. Apple. Finder appleshowallfiles Yes
Command for hiding Mac hidden files: Defaults write com. Apple. Finder appleshowallfiles No
After entering the key, click Enter to exit the terminal and restart the finder.
Restart finder: Click the apple icon in the upper left corner of the window --> force exit --> finder --> restart
Display hidden files on Mac