You should only do this on your local environment if you have followed the Learn instructions to change your bash_profile. Do not try this on the IDE.
- confirm that you have
.bash_profile.bakin your root directory
- If it is present,
rm .bash_profile(This will delete the current .bash_profile)
mv .bash_profile.bak .bash_profile(This will rename the backup file so it is now the .bash_profile)
source .bash_profile(This will reload the new .bash_profile in the currently open terminal)
- If your old bash profile isn't in effect in your terminal, you may need to close all open terminal windows and then open a new terminal window
Did this answer your question?