Search code examples
linuxbashshelllinux-mint

I accidentally copied a bash file replacing it with the .bashrc file in my Linux Mint. How am I supposed to retrieve the .bashrc file?


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.


Solution

  • 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