There are two types of workspace settings file environment settings file: System environment settings file and personal environment settings file 1. User working environment settings file in System: Login environment settings file:/etc/profile Non-logon environment settings file:/ETC/BASHRC 2. Environment settings file for user's personal settings : Login environment settings file: $HOME/.bash_profile//This is where the environment variable is set for the non-login environment settings file: $HOME/.BASHRC//This is where the alias is defined. Login environment: Refers to the user's working environment after logging into the system non-login environment: refers to the user User environment used when invoking a child shell
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Description of the environment file settings under Linux