Set environment variable path
I am using UbuntuX86v12.04. Accidently I deleted all the paths saved in my ~/.bashrc file using terminal. I used "gedit ~/.bashrc" command to open it through terminal and after deleting, I saved it. Now I am not able to run any program or command. Each time the terminal is telling that the path is not included in my environment variable. I am not even able to use gedit to reopen ~/.bashrc file to undo changes. Kindly let me know how to add paths to environment varibales so that eveything would again get normal.