我不小心复制了一个 bash 文件,用我的 Linux Mint 中的 .bashrc 文件替换了它。我应该如何检索 .bashrc 文件?

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?

我试图将我的 bash 文件放入回收站,但我将内容复制到 .bashrc 文件,替换了原始文件的内容。我希望你帮我取回 .bashrc 文件。

您无法恢复自定义 .bashrc。但是,如果你想恢复到默认的.bashrc,你会发现创建新用户时复制的那个:

/etc/skel/.bashrc