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
Why do we write bin bash in shell scripts?
Write the syntax for "if" conditionals in linux?
How to calculate the number of passed arguments?
What is the default shell of solaris?
What is the equivalent of a file shortcut that we have a window on a linux system?
how to get part of string variable with echo command only?
What is the best shell scripting language?
What is bash used for?
Explore about environment variables?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
Explain about sourcing commands?
How does ls command work?
What is bash eval?
Explain about login shell?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?