How to see hidden files on a Mac

  • October 1, 2011
  • Read 73,742 times
 

Any files that start with a period on a Mac are considered hidden files in the Mac OS and are not visible from within the Finder. You can see these hidden files from within the Terminal utility by using the ls -a command, but that is not convenient when you wish to see all files on your computer through the Finder. This tutorial will describe how to make it so that all files on your Mac are visible from within the Finder.

The first thing you need to do is click on empty portion of your desktop so that the Finder is selected. Once it is selected, click on the Go button and select Utilities as shown in the image below.

 

File's property menu

The Utilities folder should now appear as shown in the image below.

 

Mac OS Utilities

Scroll through the list of apps till you find the Terminal icon, as shown by the arrow in the image above, and double-click on it. The Terminal utility should now open and you will be shown a prompt and rectangular cursor as shown in the screen below.

 

Blank Terminal Screen

 

The Mac OS Terminal utilities allows you to enter commands by typing on your keyboard. In order to show hidden files within the Mac OS Finder, we need to first issue a command to enable the viewing of hidden files. To enter this command, simply type the following bold text on your keyboard defaults write com.apple.Finder AppleShowAllFiles TRUE and then press the Enter key on your keyboard. Once you have done this, your Terminal screen should look similar to the image below.

 

Terminal after the first command

 

It is now necessary to restart the Finder so that these settings go into effect. To do this please type the following bold text on your keyboard killall Finder and then press the Enter key on your keyboard. Please note that you must capitalize the F in Finder or the command will not work. Once you have done this, your Terminal screen should now look similar to the image below.

 

Terminal after killall command

 

After typing the killall Finder command, you should have seen the Mac desktop go away and then start again. This was the Finder restarting and enabling the new settings. You can now close the Terminal utility.

You will now be able to see all files, including hidden ones, when using the Finder on your Mac. In the future if you want to turn this setting off so that hidden files are not visible in the Finder, you can follow the same steps, but for the first command you should instead type the following bold text on your keyboard defaults write com.apple.Finder AppleShowAllFiles FALSE and then press the Enter key on your keyboard. You will then need to issue the killall Finder command to restart the Finder.

If you have any questions about this process please feel free to post them in our Mac OS Forum.

Users who read this also read:

  • How to force quit a program on a Mac Image
    How to force quit a program on a Mac

    When using an application on a Mac it may become unresponsive and become frozen. When an application is in this state you are normally not able to interact with the program or close it normally via the Quit menu option. When this occurs the only way to close the program is to use Force Quit, which will forcefully close the programs. This tutorial will walk you through terminating an unresponsive ...

  • What is a File Extension? Image
    What is a File Extension?

    A file extension, or file name extension, is the letters immediately shown after the last period in a file name. For example, the file extension.txt has an extension of .txt. This extension allows the operating system to know what type of file it is and what program to run when you double-click on it. There are no particular rules regarding how an extension should be formatted other than it must ...

  • How to open a file with a different program on your Mac Image
    How to open a file with a different program on your Mac

    When you double-click a file on your Mac, the operating system will automatically open the file using the program assigned to that type of file. It is possible, though, to open the file using another program if you wish. To open a file on your Mac using a different program, navigate to the file you wish to open and right-click on it to see the file menu as shown below.

  • How to install Software Updates on your Mac Image
    How to install Software Updates on your Mac

    In order to keep your Mac secure and operating efficiently it is important that you always install software updates as they become available. These updates not only fix problems with applications and the operating system, but also fix security vulnerabilities that can be used by computer viruses to infect your computer. Unfortunately, many people feel that because they are using a Mac they are ...

  • How to restore your default file extension associations in Mac OS Image
    How to restore your default file extension associations in Mac OS

    In the Mac OS it is possible to change the default program the operating system will use to open a file when you double-click on it. After you have changed this file association, though, you may want to reset this file association back to the default program that Mac OS was configured with when it was installed. This tutorial will explain how to restore your default file associations in Mac OS.

 

Comments:

blog comments powered by Disqus
search tutorials
Mandiant mWise Conference 2024

Login