mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 19:52:43 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
17
tldr/export
Normal file
17
tldr/export
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user