Built-in Bash commands

alias

alias [-p] {name[=value]}

 

Define or display aliases.

echo

echo [options] [arguments]

 

Output the arguments, separated by spaces and terminated with a newline. The return status is always 0.

help

help [options] [pattern]

 

Display information about built-in commands.

local

local [options] name[=value]

 

Define local variables. Their use is restricted to a function and its children.

printf

printf format [values]

printf -v variable format [values]

 

Formats and prints values under control of the format.

read

read [options] [variables]

 

Read a line from the standard input and split it into fields.


2020–07–19