Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was looking at Questin 9152: Why doesn’t my path update now?. Which customizations should go into my ~/.bashrc file vs. into my ~/.bash_profile file?

share|improve this question

1 Answer 1

up vote 13 down vote accepted

This post explains that ~/.bash_profile is used for login shells, while ~/.bashrc is used for other interactive shells. Here's a useful video as well, which gives the example of some printer settings as something you might want on a login shell. In the end, it really doesn't matter too much, it's just a semantics thing. Plus, as the article says:

... the point is generally moot because most people edit the files so one calls the other anyway.

share|improve this answer
2  
Add the quote "At any rate, the point is generally moot because most people edit the files so one calls the other anyway." and I'll approve this answer. Thanks for the quick response. –  pcapademic Jul 22 '09 at 8:14
    
Sure, done. (15) –  jtbandes Jul 22 '09 at 8:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.