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 |
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
Hi All, Is it possible to create one file name only space or space in file name in UNIX and we can able to run that on Unix?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
what is the difference between sh & bash shell?
How do I edit a .sh file?
How to know that your remote server is ruing smoothly or not in unix?
Print the 10th line without using tail and head command.
How to check if the previous command was run successfully?
What is path in shell script?
How to print the first array element?
Where is bash history?
How do I start a shell script?