My terminal used to read
username@computername:~$
but after navigating to some directories, it now says
username@computername:/$
and I can't get back to my Home directory.
My terminal used to read
username@computername:~$
but after navigating to some directories, it now says
username@computername:/$
and I can't get back to my Home directory.
The easiest way is to simply type cd. Argumentless cd means cd will bring you to your home directory, which is also known as ~. This means cd ~ would also work, albeit with a couple more keystrokes.