Linux How To Go To Home Directory
We are going to show you how to go to your home directory on Linux. This is probably one of the easiest things that you can learn to do on the command line.
The easiest way to go to your home directory is to just use the cd command with no parameters. It will bring you home by default. You can do this with just three keystrokes including the enter key.
It is also worth being aware of the following.
|~||refers to your home directory|
|$HOME||will also probably point to your home directory|
You can also use the following but it takes a tiny bit more effort and isn’t necessary. These will also take you home.
cd ~ cd $HOME