what do u mean by $#,$* in unix programming?

Answer Posted / siva prasad

$#- total no of positional parameters excluding the program
name
$*- all the arguments excluding the program name

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

madhar chod unix ke 10 commands dhang se likh nahi sakta hai

2978


shell script for reverse the string

924


What are the two files of crontab command?

656


How to redirect both standard output and standard error to the same location?

643


How important is shell scripting?

550






How do I read a .sh file?

534


How do scripts work?

613


Is powershell a bash?

594


Is powershell a language?

571


Explain about echo command?

628


What is k shell?

538


What is bash used for?

581


What does debug script mean?

555


How to set an array in linux?

599


Where is bash history?

510