在命令行输入下面命令即可 PATH=/bin:/usr/bin:/usr/local/bin:${PATH} 来源:https://www.cnblogs.com/guoshuai-yangxu/p/11907188.html