I try to edit .bashrc to view the C-compilers that I installed before. But after opening the new terminal I am stuck with strange error.
I am unable to ls
the files/directories and nothing works. It hangs with the following error message on command line:
vi .bashrc
Command `vi` is available in /usr/bin/vi
The command could not be located because /usr/bin is not included in the PATH environment variable.
vi: command not found
Can anyone please assist me ?