Understanding Which Dotfiles Different Shells Source On Login
What Shell Startup Files Do on Login When a user logs into a Unix-based system, the login shell executes various startup files that initialize the shell session. The startup files that get loaded depend on the shell in use and whether it is a login or interactive session. .profile, .bash_profile, .bashrc – Purpose and Order…