vote up 10 vote down star
3

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?

flag

1 Answer

vote up 10 vote down check

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.

link|flag
1  
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. – EricJLN Jul 22 at 8:14
Sure, done. (15) – jtbandes Jul 22 at 8:18

Your Answer

Get an OpenID
or
never shown

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