Reputation: 21
I'm a Linux noob. By mistake, I ran :
export PATH=/root/anaconda3/bin
I figure I have changed the value of "PATH" by not using '$PATH:'. Now everytime I press enter, it says sed not installed. I can't even get into sudo anymore.
echo $PATH
still shows -
:/home/adi/bin:/home/adi/bin
Upvotes: 0
Views: 38
Reputation: 17620
Unless you put this change into your .bash_profile or .bashrc file, it will not persist the next time you log in. Just log out and log back in and all shall be right with the world.
Upvotes: 1