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 would you compare the strings in a shell script?
What is the conditional statement in shell scripting?
How can I Debug a shell scripts and Perl scripting?? or How do you debug a shell scripting and perl scripting ( at the compile time error or run time error) in Unix environment ?
Tell something about the super block in shell scripting?
What is "test"? How it is used in shell scripting?
How to check if the previous command was run successfully?
How do you debug a script?
What is shell scripting used for?
How do we delete all blank lines in a file?
Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"
What are the advantages of shell scripting?
I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.