When running a Bourne shell, I create a variable, display the variable, then export the variable. The display works OK, but the export does not. Why?
Here is the contents of myshell.sh
myVar="this is a test"
echo "The contents of myVar: $myVar"
export $myVar...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.