Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a .bash_profile file in my Home folder but it is hidden. How can I open it with Text Wrangler (or any other text editor?)

share|improve this question
up vote 5 down vote accepted

You can use the terminal :

open ~/path/to/.YourHiddenFile -a /Application/

The hidden file are hidden by adding a dot in the beginning of the file name.

Or with the good old GUI method :

  1. Launch the application you wish to use to edit or view the hidden file.

  2. Select ‘Open’ from the application’s File menu.

  3. An Open Dialog box will display.

  4. With the dialog box as the front-most window (you can click once in the dialog box to make sure it’s in front), press command + shift + .

  5. The dialog box now will display any hidden files or folders within its list items.

  6. You can toggle between the hidden files and folders being displayed by pressing command + shift + . again.

share|improve this answer
I do not have the  on my MBA keyboard ? where is it ? – Buscar웃 Jun 9 '14 at 15:52
@Buscar웃, it's right next to 🍔 – l'L'l Jun 9 '14 at 16:11
long ago keyboards had an apple on the command key... There was even a filled in apple on one and an open apple on the other so they could tell people to use one or the other... Not sure if they actually did different things though. – dwightk Jun 9 '14 at 16:32
Thanks I found it next to the 👙 – Buscar웃 Jun 9 '14 at 16:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.