• it can be useful to fill in the blanks at runtime
  • $1 $2 $3, etc are all positional variables
  • consider this:
  • #!/bin/bash
    echo Mary had a little $1 its fleece was white as $2
    
  • $0 is the name of the script itself, all others are positional...e.g. $8 is the 8th argument
  • NEXT
    PREVIOUS
    Master Index