tldr/pages/common/export.md

13 lines
273 B
Markdown

# 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}}`