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 =
- Unset an environment variable:
export -n
- Export a [f]unction to child processes:
export -f
- Append a pathname to the environment variable
$PATH:
export PATH=$PATH:
- [p]rint a list of active exported variables in shell command form:
export -p
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
