linux --环境变量配置文件

A.登录时生效的环境比那辆配置文件

在Linux 系统登陆时主要生效的环境变量配置文件可以有以下5个:

1) /etc/profile

2)  /etc/profile.d/*.sh

3)  ~./bash_profile

4)  ~/.bashrc

5)  /etc/bashrc

B.

原文地址:https://www.cnblogs.com/clairedandan/p/13967438.html