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

Answer Posted / vipul dalwala

$# - number of command line arguments or positional
parameters

$* - All of the positional parameters, seen as a single word

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Print the 10th line without using tail and head command.

1674


How do I run a script from command prompt?

562


How do we create command aliases in a shell?

542


How to find all the files modified in less than 3 days and save the record in a text file?

613


What is bash coding?

501






‎What is a shell? · ‎Types of shell · ‎what is shell scripting?

556


What is awk in shell script?

754


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

526


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

619


Explain about the exit command?

570


I have 2 files and I want to print the records which are common to both.

699


How do I run a script on mac?

570


What is a shell in operating system?

591


What command needs to be used to take the backup?

528


Is bash a shell script?

604