The commands for listing hidden files or folders under a folder with a terminal are:
cd folder path
After entering the carriage, enter:
Ls-a
Forcing the Mac OS x system to display all the hidden files or folders, you can use the terminal to use the following command:
First command: Defaults write Com.apple.finder appleshowallfiles TRUE
Enter, forcing the system to change the preferences folder in the user repository com.apple.finder.plist file appleshowallfiles parameter value to True
Second command: Killall Finder
After the carriage return, the command forces the Finder to refresh the Finder content again.
If you do not use a command, you can also install Xcode Tools with the system installation disk, and then locate Com.apple.finder.plist in the Preferences folder in the user repository, and when you double-click the file, the system uses Xcode The property List Editor in Tools opens, finds Appleshowallfiles, and modifies the value to true. If there is no appleshowallfiles in the file, you can add it yourself under root. Once modified, you can find the force restart from the Apple menu on the toolbar above the screen, select Finder, and then click the Restart button.
If you want the system to hide hidden files again, change the Appleshowallfiles parameter value to False, and then restart the Finder.
Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 Welcome to join