Sunday, May 9, 2010

PATH variable went wrong

Today I update /etc/bash.bashrc and set PATH variable wrong. This cause the terminal malfunction. Because the files need to function the commands are not exported. So I can't even open a file with terminal.
Shoot this trouble is simple(but I tried last 2 hours to shoot this :D)
What I have done is add /usr/bin to the PATH by executing export PATH=$PATH:/usr/bin
Then I could used the terminal as normal and correct the bash.bashrc file.

No comments:

Post a Comment