I messed up my .bashrc file. How do I get to the default one that was initially created with my home directory?

link|improve this question
Whoops. Shoulda done some more research. Here is the answer for posterity: linuxquestions.org/questions/linux-newbie-8/… it's in /etc/skel/.bashrc in my particular case – Dmitri Aug 23 '11 at 5:45
feedback

closed as off topic by womble, Zoredache, andol, Iain, SvenW Aug 23 '11 at 6:24

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

2 Answers

up vote 5 down vote accepted
mv ~/.bashrc ~/.bashrc.messed
cp /etc/skel/.bashrc ~/.bashrc
link|improve this answer
feedback

I do not remember the exact commands, but there is a way to see which files do belong to a package, like bash....

Look for bashrc.sample or bashrc.example or bashrc.default and just copy it to your home directory..

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.