问题描述:
添加了环境变量,所以需要配置 /etc/profile, 并执行 source /etc/profile。 但是执行后一直报错:
root@server8 zsc]# source /etc/profile
bash: sed: command not found...
问题原因:
profile 文件中存在 PARH 参数错误情况:
正确:
大意了。记录一下,下次一定注意!!!!!
问题描述:
添加了环境变量,所以需要配置 /etc/profile, 并执行 source /etc/profile。 但是执行后一直报错:
root@server8 zsc]# source /etc/profile
bash: sed: command not found...
问题原因:
profile 文件中存在 PARH 参数错误情况:
正确:
大意了。记录一下,下次一定注意!!!!!