0

I am not able to permanently change my PATH variable. I tried changing .bash_profile file but, the changes were reverted (however the .bash_profile file had the path which I wrote) when I closed the terminal.

  • 2
    Is your ~/.bash_profile or ~/.bashrc file ever resetting the PATH variable (i.e. setting it without using its old value)? It's difficult to help since we can't see your files. – Kusalananda Jan 27 at 8:09
  • It is unclear what you did, show us what you did. – ctrl-alt-delor Jan 27 at 17:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.