./start.sh 1 2 3 4

num: $# = 4
PID: $$ = 24133
sname: $0 = start.sh
first: $1 = 1
secont: $2 = 2
$@ = 1234 #value list
$* = 1234 #value

  • $* 1 2 3 4

shell