[root@qinghong ~]# source /etc/profile bash: tty: command not found /usr/libexec/grepconf.sh: line 5: grep: command not found
执行export PATH=/usr/bin:/usr/sbin:/bin:/sbin:后再source
export PATH=/usr/bin:/usr/sbin:/bin:/sbin:
profile配置出错,恢复
原文:https://www.cnblogs.com/bule-comet/p/14100275.html