shell脚原本实现相似回收站功能

背景: 工做中,总会有人聊到曾经作过的最坑的事情,其中固然少不了rm命令,好比最出名的rm -rf /*命令。 受HDFS回收站机制的启发,我即兴的写了一个shell脚原本实现相似的功能。shell 具体配置: [dong@localhost ~]$ sudo touch /usr/bin/delete [dong@localhost ~]$ sudo chmod +x /usr/bin/dele
相关文章
相关标签/搜索