what are usage of $#,$@,$* in shell



$# 

=>shows the count of the arguments passed to the script.

$@ 

=>treats each quoted arguments as separate arguments 

 $* 

=>will consider the entire set of positional parameters as a single string

No comments:

Post a Comment