DistributedNetworks DistributedNetworks


Shell Variables   «Prev 

Using Positional Variables in a Unix Script

convert -all tickets.dat agents.dat clients.dat
convert -all tickets.dat agents.dat clients.dat

$0 = convert
$0 = convert

$l= -all
$l= -all

$2 = tickets.dat
$2 = tickets.dat

$3 = agents.dat
$3 = agents.dat

$4 = clients.dat
$4 = clients.dat

$#=4
$#=4

$@=convert -all tickets.dat agents.dat clients.dat
$@= convert -all tickets.dat agents.dat clients.dat