What does $# stand for?
Answers were Sorted based on User's Feedback
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 |
It will give how many characters we passed... :)
Is This Answer Correct ? | 2 Yes | 1 No |
How to make userdefined variables to available for all other shells?
What is the fastest scripting language?
Why are there shells on the beach?
What is the command for " how many shell is running in your system or how many shell supported by your system " ?.
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
I want to connect to a remote server and execute some commands, how can I achieve this?
Is shell scripting a programming language?
What is shell terminal?
What is ms powershell?
How do you read arguments in a shell program - $1, $2 ..?
write a non recursive shell script that accepts any number of arguments and prints them in the reverse order
What is bash used for?