Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

export function in shell script

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.
 
PREVIOUS NEXT
Tagged: #export #function #shell #script
ADD COMMENT
Topic
Name
1+7 =