adplus-dvertising
frame-decoration

Question

Which of the following is used for storing the number of positional parameters?

a.

$n

b.

$#

c.

$*

d.

$2

Posted under UNIX

Answer: (b).$#

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is used for storing the number of positional parameters?

Similar Questions

Discover Related MCQs

Q. Which of the following operators are used for logical execution?

Q. test works in ____ ways.

Q. Which of the following operators is used with test for comparison of numeric values?

Q. We can use comparison operators without a ‘ – ‘ .

Q. ___ implies greater than and ____ implies less than.

Q. Which of the following operator is used as a shorthand for test?

Q. It is essential to use whitespaces when we use [ ] .

Q. test and [ ] can be used for string comparison.

Q. Which one of the following option is used for AND operation?

Q. Which one of the following option is used for checking that the string is NULL string?

Q. ____ statement matches an expression for more than one alternative.

Q. Every pattern in case statement in terminated with a _____

Q. For locating the first position of a character in a string we can use expr command.

Q. Which of the following commands let us perform a set of instructions repeatedly?

Q. Which of the following keywords are used in while loop?

Q. until loop operates with a reverse logic as used in while loop.

Q. Which one of the following is used for looping with a list?

Q. Which of the following loop statements uses do and done keyword?

Q. Which command is used for changing filename extensions?

Q. Which command is used by the shell for manipulating positional parameters?