Ubuntu uses /etc/skel/.bashrc as the base .bashrc that gets copied into every new users home directory. Unless you have made custom changes you can simply copy /etc/skel/.bashrc to your home directory and you will be set. If you have made custom changes then you will need to make them again.
Ubuntu 如何恢复默认的 .bashrc,布布扣,bubuko.com
原文:http://www.cnblogs.com/beautiful-scenery/p/3588826.html