profile类配置文件

全局:对所有用户都生效;

/etc/profile

/etc/profile.d/*.sh


用户个人:仅对当前用户有效;

~/.bash_profile


功用:

1、用于定义环境变量;

2、运行命令或脚本;

 

你可能感兴趣的:(profile类配置文件)