function
Define a function. tldr-pages
On several platforms
Several platforms
Define a function with the specified name
function func_name { echo "Function contents here"; }Run a function named func_name
func_nameDefine a function without the function keyword
func_name() { echo "Function contents here"; }Display help
help functionIdentify