bash_profile

.bash_profile is the setting file for environment variables, such as PATH, etc., when the user logs in.

When the user login shell is sh or bash, after the user logs in, the system will execute this file to set the corresponding environment.
/home/test/.bash_profile and /root/.bash_profile are the environment files for user test and root respectively.
/etc/skel/.bash_profile is the default configuration when creating an account

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326085562&siteId=291194637