Show hidden files under iOS and modify Hosts file contents

Source: Internet
Author: User
Tags bool

To modify the contents of the Hosts file:

Enter etc folder, find the Hosts file, the file copied out, modify the contents of the inside, first of the hosts in etc to delete the file, and then in the revised file offline to

You may need the administrator's password, you can enter your login password OK.

There are two ways to display hidden files under a Mac: command-line mode and software approach.

Command line: Show/Hide the Mac hidden files command as follows (note the spaces and case sensitivity):

To display the Mac hidden files command:

Defaults write Com.apple.finder Appleshowallfiles-bool true

To hide a mac hidden file command:

Defaults write Com.apple.finder Appleshowallfiles-bool false

Or

To display the Mac hidden files command:

Defaults write Com.apple.finder appleshowallfiles YES

To hide a mac hidden file command:

Defaults write Com.apple.finder appleshowallfiles NO

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.