When I open my non-login shell in Ubuntu, my present working directory is /home/user_name
(my $HOME
environment variable), but I want to change this such that when I start my terminal I am in some other directory.
I have read that when I start my terminal in Ubuntu a .bashrc
file is sourced. So I added
export HOME=/home/user_name/Documents
to my .bashrc
file. Now, when I open my terminal I am still in /home/user_name
directory.
How can I change this?