Skip to main content
stinky.blog

Bash config

Global vs user #

Global configs in /etc affect all users. Includes /etc/profile and /etc/bash.bashrc

/etc/profile is not bash specific -- contains system-wide environment variables and startup config for login shells

/etc/bash.bashrc is the global config for non-login bash shells.

User-specific configs are located in the users home folder -- .bashrc and .bash_profile

These are copied from /etc/skel upon user creation