Variables shell script in Unix or Linux
variables:
Special variables--system defined
$0---file name
$n---$0,$1..nth
$*--all the parameters
$#---no. of arguments
$$---process id
$?---last status of the command.0--succ,non -zero--fail
$@---all the parameters seperate double quotes
user defined variables
var,a,b,c
$var
$a
$b
enviornment variables
Ещё видео!