-1

When i tried to edit .bashrc file I am getting the above error how to solve this. when i gave

$ echo $PATH
/home/vijay/usr/bin:PATH:/bin

is displayed Steps in detail would help

0

1 Answer 1

3

When you typed the changes to ~/.bashrc you omitted a $. Re-edit your ~/.bashrc with:

/usr/bin/vim ~/.bashrc

Find the line:

PATH=/home/vijay/usr/bin:PATH:/bin  

and change it to:

PATH=/home/vijay/usr/bin:$PATH:/bin  
-------------------------^

Not the answer you're looking for? Browse other questions tagged or ask your own question.