wiki/help/linux/bash/script/function.md

94 B

function.

you can declare a function like this:

foo()
{
  # commands go here.
}