32. Bash Shell - Startup Files
Contents
Bash’s startup configuration file can help us pre-load some other script files as well as preset general and necessary variables.
Bash provides two types of startup files, one that is loaded on login and the other that is loaded on non-login.
Login Shell Startup Files
The startup files that will be loaded at login are:
Global
|
|
User Specific
|
|
|
|
|
|
Non-login Shell Startup Files
The boot files that will be loaded when you enter a bash shell are:
|
|
|
|
References 6 Bash Features, 6.2 Bash Startup Files
Author Dong Chen
LastMod Tue Mar 5 2019