T tirwit macrumors newbie Original poster Apr 30, 2010 #1 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 😕)
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 😕)
spinnerlys Guest Apr 30, 2010 #2 http://www.google.com/search?client=safari&rls=en&q=mac+os+x+show+hidden+files&ie=UTF-8&oe=UTF-8 leads to Terminal > defaults write com.apple.Finder AppleShowAllFiles YES
http://www.google.com/search?client=safari&rls=en&q=mac+os+x+show+hidden+files&ie=UTF-8&oe=UTF-8 leads to Terminal > defaults write com.apple.Finder AppleShowAllFiles YES
robbieduncan Moderator emeritus Apr 30, 2010 #3 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.
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.
T tirwit macrumors newbie Original poster Apr 30, 2010 #4 No need 🙂 i discovered right after =P Code: open -a