Table

Path Type Scope Description
/etc/locale.conf File Global Global locale
/etc/security/limits.conf File Global Global limits for a user
/etc/environment File Global Global enviroment variables
/etc/profile File Global Global profile
/etc/profile.d Folder Global Global profiles
/etc/default Folder Global Global defaults(e.g. keyboard, locale)
/etc/bash.bashrc File Global Global bash configuration
~/.profile File User User profile
~/.bash_profile File User User profile on bash
~/.bash_login File User User configuration on bash login
~/.bash_logout File User User configuration on bash logout
~/.bashrc File User User bash resources
~/.xinitrc File User User resources on X server environment
~/.xprofile File User User profile on X server environment
~/.xsession File User User session on X server environment

References

https://help.ubuntu.com/community/EnvironmentVariables

https://askubuntu.com/questions/866161/setting-path-variable-in-etc-environment-vs-profile