title: Default bash environment changed. How do I revert it to default?
body: <p>I am using <code>AWS EC2</code> along with the CodeStar services.
  I wanted to add the path to maven's binary to the PATH environment variable.
  So I wrote it to the <code>/etc/environment</code> file and executed the command:</p>
  
  <pre><code>source /etc/environment
  </code></pre>
  
  <p>But it has now changed the default environment of the bash shell and now I am not able to execute any command. Even for a command like <code>ls</code> it gives output <code>-bash: command not found</code></p>
  
  <p>How do I revert back to the default settings. I tried whatever my brain could think of. But nothing helped. Would be glad to hear from the community.</p>