- 博客(1)
- 收藏
- 关注
原创 Centos 环境变量/etc/profile和/etc/profile.d
结论: 1. 两个文件都是设置环境变量的文件。 2. /etc/profile 是永久性的环境变量,是全局变量,/etc/profile.d/ 设置对所有用户生效 3. /etc/profile.d/ 比 /etc/profile 好维护。不想要什么变量直接删除/etc/profile.d/下对应的.sh shell脚本即可,不用像/etc/profile需...
2018-12-29 10:58:23
14659
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人