mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 17:50:28 +00:00
Update cheatsheets
This commit is contained in:
17
export
Normal file
17
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