Tips on envrionment loading for linux/debian/ubunt/linuxmint
.bashrc
will be loaded when login from unity, desktop UI orF7..F12
.bash_profile
willbe loaded when login from command prompt,F1..F6
, login fromssh
.profile
will be loaded when login from UI console, which will source.bashrc
- Enabled
longin as shell
in the terminal to load the.bash_profilel
source