CmdID

CmdID / Commands

function

Define a function. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Define a function with the specified name

function func_name { echo "Function contents here"; }

Run a function named func_name

func_name

Define a function without the function keyword

func_name() { echo "Function contents here"; }

Display help

help functionIdentify