8

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

1
23
mv ~/.bashrc ~/.bashrc.messed
cp /etc/skel/.bashrc ~/.bashrc
-2

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..

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