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 ?
Asked
Active
Viewed 1,505 times
0
Kyaw Kyaw Soe
- 203
Mazen Saad
- 31
- 3
1 Answers
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