Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/linux/export Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# export
> Export shell variables to child processes.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-export>.
- Set an environment variable:
`export {{VARIABLE}}={{value}}`
- Unset an environment variable:
`export -n {{VARIABLE}}`
- Export a function to child processes:
`export -f {{FUNCTION_NAME}}`
- Append a pathname to the environment variable `PATH`:
`export PATH=$PATH:{{path/to/append}}`