CentOS 7 -bash:vim: command not found.

View vim installation information:

rpm -qa | grep vim

If you have installed a similar line will return the following information:

 If it does not return the Number inconsistent or only one, use the following command to install:

yum -y install vim-enhanced

You can use to edit the file after the installation is complete vim!

Guess you like

Origin www.cnblogs.com/gme5/p/11777059.html