Restoring default .bashrc file to /root

Started by chandra, 2013/06/23, 05:09:40

Previous topic - Next topic

chandra

While trying to set a red-coloured prompt for the superuser, I accidentally overwrote the default .bashrc file without backing it up.

I have found a .bashrc file in /etc/skel. Was this file default in the /root directory, or was it customized in any way? In short, how may I restore the default .bashrc file in /root?

Many thanks.

seasons

There is no difference between /root/.bashrc and /etc/skel/.bashrc on my system.

chandra