I was messing around with environment variables on my Mac, trying to learn how to use them and I used the command
nano ~/.bash_profile where I then added the line
HOME=/Users/MyCompName/Desktop to update my home variable.
This change worked and can be seen when I use
printenv to view all environment variables but when I went to change
HOME back I couldn't seem to find
~/.bash_profile anymore. Where did it go?