个人原创博客,转载请注明,否则追究法律责任 2017-09-30-09:51:20 1,删除vim命令.模拟错误 [root@localhost ~]# which vim/usr/bin/vim[root@localhost ~]# rpm -qf /usr/bin/vimvim-enhanced-7.4.160-1.el7.x86_64[root@localhost ~]#rm -f /usr/bin/vim ------------------- 删除vim命令,模拟命令错误 2,开始重新…