vim ~/.bashrc alias rm='read -p "Are you ready?" y && [ $y == "y" ] && rm -i' 省的手误... 转载于:https://www.cnblogs.com/aaa103439/p/3675699.html