I have a script that exports an environment variable and starts some subscripts.
export LOGLEVEL="1" /home/myuser/bin/myscript1.sh /home/myuser/bin/myscript2.sh LOGLEVEL is available to the processes started from the subscripts. How can I change the environment variable LOGLEVEL?
I have tried to set the variable with export LOGLEVEL="5" but that`s not working.
getenv().