I was trying to add the source command at the end so that I don't have to enter it in the command line each session, the addition I made was, in the end of the file,
# Load Root Files
source /home/user/file/blah/blah/thisroot.sh
It seems I goofed up. As now when I run the standard command to run the program, I get
user@user-laptop:~$ root -l
bash: /home/user/Downloads/root/bin/root: No such file or directory
I thought I might just revert whatever changes I made. But now I cannot even open the .bashrc
file.
$ emacs .bashrc&
[1] 2478
user@user-laptop:~$ Command 'emacs' is available in '/usr/bin/emacs'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
emacs: command not found
Now you can probably realize by all this that I am quite the n00b here. Please help me out.