title: Set variables versus env variables Linux(debian) Bash shell
body: <p>When creating set variables, what is the advantage of adding them to environment? Both are lost at session termination. I know obviously I can add useful stuff to .bashrc that I would want to access via my user.
  Just not sure what the advantages would be? how common practice is it? do I need to worry about it? I am talking real life administration uses.</p>
  
  <p>It seems to me like set is a local variable within a class. ENV is obviously global. Maybe the only use is when traversing different shells? How practical is it?</p>