Can someone please explain what the $ is used for in bash? Currently doing the following exercuse: https://www.codecademy.com/courses/learn-the-command-line/projects/attica.
And I am confused by step 11. It asks me to echo USER but it will not work unless I place the $ in front of user?
I have searched for answer and was told that it used to exit bash, which just confused me even more.
Look forward to find out this answer, as I am thinking it is quite simple.