title: Setting environment variable globally without restarting Ubuntu
body: <p>I know that system wide environment variables can be set by adding entries into</p>
  
  <pre><code>/etc/environment
  </code></pre>
  
  <p>or</p>
  
  <pre><code>/etc/profile
  </code></pre>
  
  <p>But that requires system restart or X restart.</p>
  
  <p>Is it possible to set an environment variable in Ubuntu / Linux so that immediately available system wide without restarting OS or logging out the user?</p>