sudo select-editor有时候在centos里面不起作用:-bash: select-editor: 未找到命令通过在.bashrc后指定编辑器即可:echo export EDITOR=/usr/bin/vim >> ~/.bashrc source ~/.bashrc Last modification:December 13, 2022 © Reprint prohibited Support Appreciate the author AliPayWeChat Like V50%看看实力