Environment Variables, PATH, and Startup Files
Use this page when configuration changes do not behave the way you expect.
Core Ideas
- shell variables and environment variables are related but not identical
- exported variables are inherited by child processes
PATHcontrols where executables are discovered- startup files define aliases, variables, functions, and prompt behavior
- changes may require
sourceor a new shell session