所有的命令都显示找不到了,原因是修改了/etc/profile造成的

解决方法

1.修正属性文件中的错误

/usr/bin/vi /etc/profile

2.生效属性文件

source /etc/profile

3.重新开一个连接窗口就可以了

 

相关文章: