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 |
I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?
What is the difference between a shell variable that is exported and the one that is not exported?
What are the different types of commonly used shells on a typical linux system?
Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus “a” becomes “f’”).
2 Answers Ignou, Tripura Info,
What is the difference between break and continue commands?
How to get the 3rd element/column from each line from a file?
How to find duplicate record in file using shell script?
0 Answers IBM, Saama Tech, Wipro,
What is the use of break command?
Explain about shebang?
what is tickets $ what low,medium,high priorite pls define time also
How do we create command aliases in a shell?
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.