Where is my .bash_profile file located?
I can't locate my .bash_profile file..
For example, if I try to open my ~/.bash_profile is not created yet...
Thanks in advance.
MacBook Pro, Mac OS X (10.7.2)
Apple Event: May 7th at 7 am PT
I can't locate my .bash_profile file..
For example, if I try to open my ~/.bash_profile is not created yet...
Thanks in advance.
MacBook Pro, Mac OS X (10.7.2)
You have to create it, it doesn't exist yet. How you do that is up to you since it is invisible, so even after you do create it you still can't see it. So what you can do is open Terminal.app and say (drag this text into Terminal):
touch .bash_profile
then say:
open -a TextEdit.app .bash_profile
TextEdit will show you a blank page which you can fill in.
You have to create it, it doesn't exist yet. How you do that is up to you since it is invisible, so even after you do create it you still can't see it. So what you can do is open Terminal.app and say (drag this text into Terminal):
touch .bash_profile
then say:
open -a TextEdit.app .bash_profile
TextEdit will show you a blank page which you can fill in.
Where should I create it?
In your user folder, /Users/UserName.
1- Open terminal
2- Type
cd /Users/UserName
3- Create file
touch .bash_profile
4-Open file to edit
open .bash_profile
I hope that helps
Thanks it helped
Thanks 🙂
Worked thanks
Where is my .bash_profile file located?