export: add page (#1824)
This commit is contained in:
15
pages/linux/export.md
Normal file
15
pages/linux/export.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# export
|
||||
|
||||
> Command to mark shell variables in the current environment to be exported with any newly forked child processes.
|
||||
|
||||
- Set a new environment variable:
|
||||
|
||||
`export {{VARIABLE}}={{value}}`
|
||||
|
||||
- Remove an environment variable:
|
||||
|
||||
`export -n {{VARIABLE}}`
|
||||
|
||||
- Append something to the PATH variable:
|
||||
|
||||
`export PATH=$PATH:{{path/to/append}}`
|
15
pages/osx/export.md
Normal file
15
pages/osx/export.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# export
|
||||
|
||||
> Command to mark shell variables in the current environment to be exported with any newly forked child processes.
|
||||
|
||||
- Set a new environment variable:
|
||||
|
||||
`export {{VARIABLE}}={{value}}`
|
||||
|
||||
- Remove an environment variable:
|
||||
|
||||
`export -n {{VARIABLE}}`
|
||||
|
||||
- Append something to the PATH variable:
|
||||
|
||||
`export PATH=$PATH:{{path/to/append}}`
|
Reference in New Issue
Block a user