Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Restoring default .bashrc file to /root  (Read 2365 times)

chandra

  • Guest
[EN] Restoring default .bashrc file to /root
« on: 2013/06/23, 05:09:40 »
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.

Offline seasons

  • User
  • Posts: 269
RE: Restoring default .bashrc file to /root
« Reply #1 on: 2013/06/23, 06:32:19 »
There is no difference between /root/.bashrc and /etc/skel/.bashrc on my system.

chandra

  • Guest
RE: Restoring default .bashrc file to /root
« Reply #2 on: 2013/06/23, 11:51:59 »
Thank you. That settles it.