linux用户profile文件,linux 配置全用户的环境变量,profile.d文件的作用
linux 环境下/etc/profile和/etc/profile.d的区别1、两个文件都是设置环境变量文件的,/etc/profile是永久的环境变量,是全局变量,/etc/profile.d/设计所有用户生效2、/etc/profile.d/ 比 /etc/profile好维护,不想要什么边浪直接删除/etc/profile.d 下对应的shell脚本即可,不用像/etc/profile需要...