Answer Posted / nandish
we can pass the parameter also
ex: function fun_name () {
# write block here
}
invoke function as
fun_name parameter1 parameter2 ...
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
How does ls command work?
What is shell geeksforgeeks?
What does the sh command do?
What are the advantages of shell scripting?
What is meant by dos operating system?
Is shell script a programming language?
How do we create command aliases in a shell?
is this growing field and what is average package in this?
Can we run shell script in windows?
How to pass an argument to a script?
How to use arguments in a script?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
how will you find the total disk space used by a specific user?
What does path stand for?