-
Open the terminal
-
Digit the following line and press Enter once done
echo "cd YOURPERSONALSTANDARDPATH" >> ~/.bashrc
Restart the terminal and check the changes
-
Digit the following line (link docs about Nano text editor)
nano ~/.bashrc
-
Scroll down with keyboards arrows, .bashrc is extremely sensible, do not touch the existing code
-
Find at the end of the file the default path (the purpose is to have only one default path)
-
Update the path and once done press
CTRL+o
(Write Out === Save changes) -
To exit from Nano, press
CTRL+z
and once back in the terminal digitexit
to end the editor and then restart it to check the changes.
https://askubuntu.com/questions/332062/setting-default-path-when-opening-a-terminal-session
thanks, it helps a lot