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

What are the various stages of a linux process it passes through?

834


Is scripting and coding the same thing?

735


Explain about debugging?

798


What language is shell scripting?

775


Why is it called a shell?

684


Write the syntax for "if" conditionals in linux?

796


Is shell scripting a language?

763


Given a file find the count of lines containing the word "abc".

1249


Can you write a script to portray how set –x works?

750


How do I edit a .sh file?

848


How to get script name inside a script?

744


What is path variable bash?

741


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

891


What is a program shell?

792


What does egrep mean?

729