rpm -qa|grep vim yum -y install vim-enhanced
-bash:vim:未找到命令
原文:https://www.cnblogs.com/yaoliuyang/p/12827828.html