Search notes:

Bash functions

func_name() {
  do
  some
  stuff
}

Exporting functions

Functions can be exported to sub shells:
export -f func_name

See also

bash

Index