How do you define a function in a shell script?

Submitted by: Administrator
function-name() { #some code here return }
Submitted by: Administrator

Read Online Shell Scripting Job Interview Questions And Answers