export: add page (#1824)

coverage
Starbeamrainbowlabs 2017-12-20 12:12:03 +00:00 committed by GitHub
commit ec05de69b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

15
pages/linux/export.md Normal file
View 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
View 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}}`