linux 回收站的添加

在~下     .bashrc或者.bash_profile加入 mkdir -p ~/.trash     alias rm=trash       trash()     {      mv $@ ~/.trash/ }  

原文地址:https://www.cnblogs.com/wspblog/p/4596085.html