There are two shell scripts. First one creates variable as:
"export VAR1=init_value;" OR "declare -x; VAR1=init_value;"
Second script can read this variable and modifies the variable's value but after exiting the variable still keep original value. What is wrong?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!