Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tirwit

macrumors newbie
Original poster
Jan 20, 2010
28
0
Hi

I want to edit my .bash_profile to add a PATH. But how do I open the file with the text editor if it's hidden? (yes, I'm a n00b :confused:)
 
Are you sure it even exists? Anyway open Terminal and type:

ls -l ~/.bash_profile

If it does exist then

open -a TextEdit.app ~/.bash_profile

will open it in TextEdit.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.