title: Messed up .bash_profile in Ubuntu 12.04
body: <p>While making some configurations to include <code>JAVA_HOME</code> in the environment, I created the file <code>.bash_profile</code>, updated it with <code>JAVA_HOME</code> and <code>PATH</code> variables. While updating the <code>PATH</code> variable, I forgot to include <code>PATH:</code> in the command <code>EXPORT PATH='PATH:/usr/...</code> . Then, I ran the command <code>source /.bash_profile</code> and it messed up everything. Now I cannot find the basic commands too in the <code>PATH</code> and shows error in commands like <code>vi</code> , <code>ls</code> etc. </p>
  
  <p>I now want everything to be restored back to the previous state. Please helm me !</p>