Shell Scripts Part 2
Create a small shell script, testVar2.sh: testVar2.sh #!/bin/sh echo "testVar is: $testVar" testVar="my shell script" echo "testVar is: $testVar" Now run the script: $ ./testVar2.sh testVar is: testVar is: my…
Create a small shell script, testVar2.sh: testVar2.sh #!/bin/sh echo "testVar is: $testVar" testVar="my shell script" echo "testVar is: $testVar" Now run the script: $ ./testVar2.sh testVar is: testVar is: my…