Shell basics-environment variable configuration file
Source configuration file or. configuration File: After the environment variables are written to the configuration file, You need to log on again to take effect, but use the source command to directly take effect the main configuration file: /etc/profile. d /*. sh ~ /. Bash_profile ~ /. Bashrc/etc/bashrc where/etc/profile. d/*. sh/etc/bashrc takes effect for all users ~ /. Bash_profile ~ /. Bashrc only takes effect for the current user. The sequence of calling the environment variable configuration file # The image cannot be displayed, the USER variable LOGNAME variable MAIL variable PATA variable HOSTNAME variable HISTSIZE variable umask calls/etc/profile. d /*. sh file configuration file ~ /. Call the role of bash_profile ~ /. The bashrc file adds the ": $ HOME/bin" directory to the PATH variable. Shell logon information: local terminal welcome information:/etc/issue # The image cannot be displayed, private Chat remote login information file (the above Escape Character cannot be used in this folder, only plain text information can be written):/etc/issue.net whether to display this welcome information, determined by the ssh configuration file/etc/ssh/sshd_config, add the "Banner/etc/issue.net" line to display and restart the SSH service.