how to resetting PATH in ubuntu 10.10
Friends,
Recently I installed texlive2012 in home directory. Upon finish installing, I executed "texhash" command. After running this command, I can not execute any commands such as sed, awk, ls, or any other commands from my terminal. Even If I open new terminal the same result. (I also restarted this machine few time adn still the problem exist). For example, if I execute "ls" I get message as below: Quote:
Can anyone help to fix this? Thank you. |
Do you modify the path in .bashrc? If so please post this:
Code:
/bin/cat .bashrc |
this is my .bashrc file
Code:
|
Quote:
|
I have tried comment those lines but the problem still remains.
|
Post:
Code:
/bin/echo $PATH |
Hi,
you won't really be able to do much until you reset your path. After that you can fix your .bashrc so that the path will be ok in new shells. Do the following in a terminal Code:
echo $PATH Now in the same terminal you can open your .bashrc in an editor and replace the texlive2012 lines with the following Code:
export MANPATH=$HOME/.texlive2012-install/texlive/2012/texmf/doc/man #to MANPATH, if not dynamically determined. Now try opening an new terminal and check your path Code:
echo $PATH |
Hi,
Quote:
Evo2. |
Quote:
|
All times are GMT -5. The time now is 05:58 PM. |