#!/bin/sh # A script to demonstrate the use of command line parameters # $# stands for the number of positional parameters that were assigned # a value from the command line arguments if [ $# -eq 0 ] then echo Need some parameters fi echo Script name: $0 echo Arg 1: $1 echo Arg 2: $2 echo Number of args: $# echo All the args $*