Powered By Blogger

Friday, 16 May 2014

If you messed up with bashrc file then How to reload skeleton bashrc ?

To do so follow the next steps:
  1. Backup your current .bashrc file:
    cp ~/.bashrc ~/.bashrc.bak
  2. Copy the skeleton .bashrc file over yours:
    cp /etc/skel/.bashrc ~/
  3. Afterwards, load the new one:
    source ~/.bashrc

No comments:

Post a Comment