📜  shell 脚本中的导出函数 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:22.093000             🧑  作者: Mango

代码示例1
export command is used to export a variable or function to the environment of all the child processes running in the current shell. export -f functionname # exports a function in the current shell. It exports a variable or function with a value. “env” command lists all the environment variables.