Environmental variable reference


#1

Description of Problem:
Unable to create courseRoot enivronmental reference after creating the courseRoot directory

When Does the Problem Occur:
Execution of -

sudo echo “export courseRoot=/home/$USER/courseRoot” >> -/.bashrc

Text of Error:

bash -/.bashrc: No such file or directory


#2

It was hard to read, but I now see it should be ~/.bashrc.

All good.