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
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
-------------------------^