First page Back Continue Last page Overview

 

Using Positional Parameters

 
  • Positional parameters are special variables that hold the command-line arguments to the script.

  • The positional parameters available are $1, $2, $3, etc. . These are normally assigned to more meaningful variable names to improve clarity.

  • $* holds all command-line arguments