![Linux Linux](/uploads/1/2/6/3/126370121/753043244.png)
I am new to Mac and trying to figure out why my .bash_profile is not working. As I read suggestions, I try them. Here is my latest issue:
E325: ATTENTION
Found a swap file by the name '.bash_profile.swp'
owned by: Brian dated: Fri Apr 10 22:09:01 2009
file name: ~Brian/.bash_profile
modified: YES
user name: Brian host name: brian-principes-macbook.local
process ID: 655
While opening file '.bash_profile'
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ':recover' or 'vim -r .bash_profile'
to recover the changes (see ':help recovery').
If you did this already, delete the swap file '.bash_profile.swp'
to avoid this message.
Swap file '.bash_profile.swp' already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
Any suggestions?
E325: ATTENTION
Found a swap file by the name '.bash_profile.swp'
owned by: Brian dated: Fri Apr 10 22:09:01 2009
file name: ~Brian/.bash_profile
modified: YES
user name: Brian host name: brian-principes-macbook.local
process ID: 655
While opening file '.bash_profile'
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ':recover' or 'vim -r .bash_profile'
to recover the changes (see ':help recovery').
If you did this already, delete the swap file '.bash_profile.swp'
to avoid this message.
Swap file '.bash_profile.swp' already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
Any suggestions?
Bash Profile For Mac Shortcut
MacBook, Mac OS X (10.5.6)
Mac User Profile Location
Posted on
Bash Profile For Mac Os
There is a hidden file in your Mac’s user directory named.bashprofile. This file is loaded before Terminal loads your shell environment and contains all the startup configuration and preferences for your command line interface. Use the touch command to create the bashprofile as follows: touch.bashprofile Edit.bashprofile To edit the.bashprofile inside the terminal, either use vim or vi as follows: vi /.bashprofile. Bashprofile for MAC users. GitHub Gist: instantly share code, notes, and snippets.