Files
cheatsheet-tldr/tldr/export
2025-12-02 00:21:15 +00:00

18 lines
367 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`