摘要:
在linux下用rm删除文件,一不小心就会干坏事……譬如不小心把系统文件删光了,所以萌生一个想法,能不能把rm删除动作绑定到垃圾箱,这样万一删错了还能找回来。上网搜了一下,发现已经有人干过这事,转载过来供大家参考。原帖在这 http://www.webupd8.org/2010/02/make-rm-move-files-to-trash-instead-of.html1. Install trash-cliThis package provides a command line interface trashcan utility compliant with the FreeDesktop 阅读全文