By mistake my bashrc has changed (using source command to a .com file). Now sudo su command is not working. To use root I have to give bash command. How can I return previous stage? Or use sudo su?
Asked
Active
Viewed 67 times
1
-
you can check this question if you looking for equivalent http://askubuntu.com/questions/70534/what-are-the-differences-between-su-sudo-s-sudo-i-sudo-su – Mohamed Slama Jun 14 '16 at 04:50
-
`source ~/.bashrc` – mchid Jun 14 '16 at 05:28
-
3Also, I think you should be using `sudo -i` instead of `sudo su` – mchid Jun 14 '16 at 05:29