How to navigate to Home Directory? [duplicate]

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.

1

1 Answer

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.

1

You Might Also Like