How to display all hidden files in Mac OS X

Source: Internet
Author: User

The command to list hidden files or folders in a folder on a terminal is:

CD folder path

Press enter and enter:

Ls-

To force the Mac OS X system to display all hidden files or folders, use the following command on the terminal:

The first command: Defaults write com. Apple. Finder appleshowallfiles true

Press enter to force the system to change the value of appleshowallfiles in the com. Apple. Finder. plist file in the preferences folder to true.

Second command: killall Finder

Press enter to force the Finder to refresh the content of the finder.

If you do not use the command, you can also use the system installation disk to install xcode tools first, and then find COM. apple. finder. plist: double-click the file. The system will open the file with the property list editor in xcode tools, find appleshowallfiles, and change the value to true. If the file does not contain appleshowallfiles, you can add them under root. After modification, you can find force Restart From the Apple menu on the toolbar at the top of the screen, select finder, and click the restart key.

If you want the system to hide the hidden files again, change the appleshowallfiles parameter value to false and restart the finder.

 

 

Http://marblesmacnotes.com/blog/2007/10/02/135/#more-135

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.