Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to make environment settings persistent. Where should I store them? I'm confused.

share|improve this question

closed as not a real question by Journeyman Geek, Dave M, HackToHell, Siim K, Tanner Faulkner Feb 27 '13 at 1:21

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You store them in .bashrc

As per the documentation for bash, .bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells.

An explanation of bash_profile and .bashrc can be found here.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .