Answer Posted / sujay kumar
First method:
function function_name
{
}
Second Method:
function_name()
{
}
For both methods, the invocation of function would be in
the same format only.
Invocation:
function_name
| Is This Answer Correct ? | 62 Yes | 12 No |
Post New Answer View All Answers
What is a shell made of?
What is bash eval?
What does path stand for?
What is batch file programming?
What is shell and terminal?
What is c in shell script?
How do I run a script from command prompt?
What is a shell? · Types of shell · what is shell scripting?
What is the use of .sh file?
How will you copy a file from one machine to other?
What is difference between bash and shell?
What is another name for a bash shell script that you might see?
What is the equivalent of a file shortcut that we have a window on a linux system?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
How can you find out how long the system has been running?