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
Print the 10th line without using tail and head command.
What does $1 mean in bash?
What is scripting autism?
What is wc in shell script?
Write a command sequence to find the count of each word?
How do I run a powershell script?
What is the syntax of while loop in shell scripting?
What are script files?
What is awk in shell script?
Why are shell scripts used?
What is meant by dos operating system?
What is the difference between break and continue commands?
What is subshell?
What is a shell made of?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.