Change to the home directory
suggest changeThe default directory is the home directory ($HOME
, typically /home/username
), so cd
without any directory takes you there
cd
Or you could be more explicit:
cd $HOME
A shortcut for the home directory is ~
, so that could be used as well.
cd ~
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents