Files
tldr/pages/common/export.md
T
2025-12-01 08:11:52 +02:00

274 B

export

Export shell variables to child processes. More information: https://manned.org/export.1posix.

  • Set an environment variable:

export {{VARIABLE}}={{value}}

  • Append a pathname to the environment variable $PATH:

export PATH=$PATH:{{path/to/append}}