修改/etc/profile出错导致命令不可用

/bin/vi /etc/profile 

修改到正确的版本后,保存退出

export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin

source /etc/profile

猜你喜欢

转载自blog.csdn.net/howard789/article/details/81813332