1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # !> Run with `sh script1.sh`. Demonstrates how to print and read values. # Lines that start with a 'hashmark' or 'pound sign' # are comments that are ignored. # You should use them liberally! # This line is special and tells us we have an executable script. #!/bin/bash # Output hello and two items read in as command-line arguments echo "Hello $1 $2" echo "What is your age?" # Read in a value read myAge echo "That is great you are $myAge years old!" |