You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explain what export does in Arithmetic and Arrays lesson. #1
Explain that export makes a variable available to subprocesses. Add a simple example:
I think this might work
$ cat script.sh
echo "variable value=$var1"
$ var1="hello"
$ shell script.sh
variable value=
export var1="hello"
$ shell script.sh
variable value=hello
Activity