修改centos系统默认编辑器
1.打开文件:
vim /etc/profile
2.添加命令:
export EDITOR=/bin/vim
或
export EDITOR=/bin/nano
3.执行命令:
source /etc/profile 或者 ./profile
修改centos系统默认编辑器
1.打开文件:
vim /etc/profile
2.添加命令:
export EDITOR=/bin/vim
或
export EDITOR=/bin/nano
3.执行命令:
source /etc/profile 或者 ./profile