For example, in my company, there're .bashrc, .bash_profile, .bashrc.<username>. However I don't know which one is automatically loaded everytime when it's started. Does it take everything or what's the rule to determine which one to pick up?

  • Hi and welcome to stack exchange. For starters, you can find an answer here. I am fairly certain this is the information you are looking for.
    – Bananguin
    Nov 18, 2018 at 18:14
  • 1
    The .bashrc.<username> file would be a local convention. Talk to your system administrators about it.
    – Kusalananda
    Nov 18, 2018 at 18:32


Browse other questions tagged or ask your own question.