add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

24
pages.zh/linux/export.md Normal file
View File

@@ -0,0 +1,24 @@
# 导出
> 将 shell 变量导出到子进程。
> 更多信息:<https://www.gnu.org/software/bash/manual/bash.html#index-export>。
- 设置环境变量:
`export {{VARIABLE}}={{value}}`
- 撤销环境变量:
`export -n {{VARIABLE}}`
- 将函数导出到子进程:
`export -f {{FUNCTION_NAME}}`
- 将路径附加到环境变量 `PATH`
`export PATH=$PATH:{{path/to/append}}`
- 以 shell 命令形式显示活动导出变量的列表:
`export -p`