root@ef5206277281:/usr/share/nginx/html# vi index.html
bash: vi: command not found
root@ef5206277281:/usr/share/nginx/html# vim index.html
bash: vim: command not found
解决办法:
1、通过命令获取最新的软件包
apt-get-update
2、安装vim命令
apt-get install vim
root@ef5206277281:/usr/share/nginx/html# vi index.html
bash: vi: command not found
root@ef5206277281:/usr/share/nginx/html# vim index.html
bash: vim: command not found
解决办法:
1、通过命令获取最新的软件包
apt-get-update
2、安装vim命令
apt-get install vim