Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

1 Answer 1

up vote 5 down vote accepted

You can use the terminal :

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

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 at 15:52
    
@Buscar웃, it's right next to 🍔 –  l'L'l Jun 9 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 at 16:32
    
Thanks I found it next to the 👙 –  Buscar웃 Jun 9 at 16:47

Your Answer

 
discard

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.