Skip to main content

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
  • PATH controls where executables are discovered
  • startup files define aliases, variables, functions, and prompt behavior
  • changes may require source or a new shell session

Best Local Sources