Skip to content

Glossary: Operating System Basics

functions

Also written: function, $1

Named blocks of commands in a script that you run by name, like small commands of your own. `health.sh` defines `ok` and `warn`, and `$1` is the first value passed to them.

Where the book teaches it

Related terms

scriptvariable