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 make userdefined variables to available for all other shells?

4 Answers  


What is the fastest scripting language?

0 Answers  


Why are there shells on the beach?

0 Answers  


What is the command for " how many shell is running in your system or how many shell supported by your system " ?.

3 Answers  


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

0 Answers  






I want to connect to a remote server and execute some commands, how can I achieve this?

0 Answers  


Is shell scripting a programming language?

0 Answers  


What is shell terminal?

0 Answers  


What is ms powershell?

0 Answers  


How do you read arguments in a shell program - $1, $2 ..?

4 Answers  


write a non recursive shell script that accepts any number of arguments and prints them in the reverse order

3 Answers  


What is bash used for?

0 Answers  


Categories