修改/etc/profile导致常用命令不可用的解决办法时间:2023-03-09 04:47:04 原因:/etc/profile文件修改有误 解决办法: 用/usr/bin/vim /etc/profile进入,进去后修改正确/etc/profile,然后重启机器让该文件生效即可。