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?
|
When I start my terminal the current working directory is always Any solution for this? |
|||||||
|
|
When you open up a new terminal, the current working directory should be your home folder.
That said, if this is not the case for you, I suppose you could append the following to the end of your .bashrc file:
|
|||||||||
|
|
If the initial working directory for a terminal is not your home directory you are likely to have a serious configuration problem. Check the following:
Check your home dir permissions/owner:
Make sure you are not doing a 'cd' on your shell startup scripts:
|
|||||||
|
|
I would also check the configuration of the user account. Probably the home directory configuration of the user is set to |
|||||
|
|
I added |
||||
|
|