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

Answer Posted / anita lohia

$# The number of command line argument
$* All the arguments on the command line

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an sh file?

539


What is the use of "$?" Sign in shell script?

590


Explain about shebang?

602


Explain about login shell?

605


What is web script?

564






What is shell scripting?

567


What is a shell script? Can you name some of its advantages?

512


How to use arguments in a script?

564


What are the disadvantages of shell scripting?

617


Explore about environment variables?

573


How to check if the previous command was run successfully?

572


How to debug the problems encountered in the shell script/program?

602


What is shell scripting used for?

552


What is the lifespan of a variable inside a shell script?

1091


How do I open the shell in cmd?

506