Shell Scripting Question:

How do you define a function in a shell script?

Answer:

function-name() { #some code here return }

Read All 30 Shell Scripting Questions
Previous QuestionNext Question
How do you stop all the processes, except the shell window?How do you read keyboard input in shell scripts?