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 the use of .sh file?
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
What command needs to be used to take the backup?
How to find duplicate record in file using shell script?
I have 2 files and I want to print the records which are common to both.
Given a file find the count of lines containing the word "abc".
How do you find out What is your shell?
What is a batch file used for?
What is basename in shell script?
Which shell is the best?
What is the use of echo in shell script?
What will happen to my current process when I execute a command using exec?
What is path in shell script?
What is .sh file in mac?
What is the best scripting language?