对所有系统用户生效,永久生效

修改 /etc/profile 文件,在文件末尾加上如下两行代码(记得添加的是文件夹路径)
PATH=$PATH:/root/bin/Sencha/Cmd/6.6.0.13
export PATH

最后执行命令 source /etc/profile 或执行点命令 ./profile 使其修改生效。

标签: none

添加新评论