0

I was editing my .bashrc file for the /root user and I think I deleted important lines or smth. It became root@pop-os:~# with a grey color like the regular font in the terminal. How to reset the .bashrc file ?

Kyaw Kyaw Soe
  • 203
  • 2
  • 4
Mazen Saad
  • 31
  • 2
  • 1
    Does this answer your question? [How to restore .bashrc file?](https://askubuntu.com/questions/198730/how-to-restore-bashrc-file) – muru Jan 17 '21 at 06:37

1 Answers1

1

Try this command:

sudo cp /etc/skel/.bashrc /root/.bashrc

Please backup your current .bashrc in case this does not work :)

roey
  • 11
  • 2