Ubuntu – How to start terminal with present working directory as “Home” instead of default “Root”

command line

When I start my terminal the current working directory is always "/". I want it to start from "/home/<username>" i.e. my home.

Any solution for this?

Best Answer

When you open up a new terminal, the current working directory should be your home folder.

nevon@loltop:~$ echo ${PWD}
/home/nevon

That said, if this is not the case for you, I suppose you could append the following to the end of your .bashrc file:

cd /home/username