Environmental variable reference


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


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

All good.