Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 may be asking a basic question for many of you.

What is exactly linux environment ? and what the relation between linux environment and shell? and what the relation between linux environment and running processes?

Sorry if my question makes no sense !

share|improve this question

I assume by "Linux environment" you mean environment variables?

Env vars are local to every shell - so if you set one in one terminal window it will not show up in another. Child processes will inherit a copy of their parent's environment, so if you set particular variables and then start a program, that program will see those variables, too - but neither parent nor child can change the other's variables.

Does that answer your question?

share|improve this answer

Your Answer


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.