Show Hidden Files in Mac OS X




About: I make stuff

Sometimes, you just want to know what hides in your disk!

This instructable will tell you how to view hidden files/folders in Mac OS X. Let's get started!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Open a Terminal Window

To open the terminal, navigate to your Applications folder in finder. Then open the utilities folder and then double-click Terminal.

Step 2: Run the Defaults Command

Now, run the following command:

defaults write AppleShowAllFiles YES && pkill Finder

This command will tell Finder to show hidden files and then restarts Finder.

Step 3: The Reverse: Hide Hidden Files/folders

Type the following command to hide hidden files:

defaults write AppleShowAllFiles YES && pkill Finder

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    3 Discussions


    3 years ago

    Shouldn't the last command use "NO" as a value :) ?

    2 replies

    Reply 3 years ago

    First of all, the && pkill Finder is required to restart finder, the YES part at AppleShowAllFiles indicates that it shows all files, change it to "NO" to reverse the operation


    Reply 2 years ago

    koune understood that ralphsoft, he was just trying to draw
    your attention to the fact that you forgot to change YES to NO in the
    last step.