What does $# stand for?

Answers were Sorted based on User's Feedback



What does $# stand for?..

Answer / guest

No of arguments passed to script

Is This Answer Correct ?    16 Yes 1 No

What does $# stand for?..

Answer / seshadri sethi

# will return the number of parameters that are passed as
the command-line arguments.

Is This Answer Correct ?    11 Yes 1 No

What does $# stand for?..

Answer / k.s.rakeshsharma

It will give how many characters we passed... :)

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Shell Script Interview Questions

How to find duplicate record in file using shell script?

0 Answers   IBM, Saama Tech, Wipro,


what is the difference between sh & bash shell?

1 Answers  


How do I start a shell script?

0 Answers  


What is the syntax of "nested if statement" in shell scripting?

0 Answers  


In which variable prompt value is stored?

2 Answers  






What is egrep?

2 Answers  


Explain about sourcing commands?

0 Answers  


Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"

6 Answers  


Is shell scripting a programming language?

0 Answers  


What is meant by $1 in shell script?

0 Answers  


What does it mean to debug a script?

0 Answers  


What are the different types of variables used in shell script?

0 Answers  


Categories