everydaymac

Mac Tip: Show Hidden Files In The Terminal

Posted in How To on 28/11/2011 by Mark Greentree

1

This Mac tip is provided by Mark Greentree and was originally posted on Mark’s blog – Everyday Mac Support. For more of Mark’s tips visit his site, follow him on Twitter, or browse his archive of posts here.


How To: Show Hidden Files In The Terminal

You can view hidden files in the Terminal.

Simply navigate to your Applications folder and then to your Utilities folder and proceed to Terminal. Launching terminal and you will be presented with a terminal window which looks similar to this:

You will notice that I have already brought up all my folders within my home folder. You can do this by simply typing ls then pressing return on your keyboard.

Should you wish to be shown all the hidden folders and files as well located in the Terminal simply type ls -a and the following will appear:

Please note these hidden files and folders are only viewable in the Terminal by using this method. They will not be presented in your finder windows.

You can navigate through your hidden folders and files. If for example I wanted to view the hidden files within my drop box I would type ls -a .dropbox and the following would be presented:



  • jwjb

    @Mark Greentree, thanks for detailing the ls -a command and its variants for showing hidden files in the terminal which are helpful to know.

Author

Mark Greentree

Mark Greentree is the principle blogger and podcast creator of Everyday Mac Support. His aim is to inform users at all levels of experience how to get the most out of the Apple hardware and associated software. He is the lead host of Not Another Mac Podcast, an Apple based round table discussion with Mac users and experts from all over world.