I was trying to place my bash file to the bin, but i copied the contents to the .bashrc
file, replacing the contents of the original file. I would like you to help me get back the .bashrc file.
You cannot recover your custom .bashrc
. But, if you want to restore it to the default .bashrc
, you will find the one copied when creating a new user in:
/etc/skel/.bashrc