Make the variable an environment variable ( export TESTVARIABLE ) before executing the 2nd script. · Source the 2nd script, i.e. . test2.sh and ... ... <看更多>
Shell scripts are text files that contain commands we want to run. As with any file, ... Let's try another command using the variable that we have created. ... <看更多>