compgen

bash built-in commands, see bash(1)

TLDR

List all commands that you could run

>_ compgen -c
copy

List all aliases

>_ compgen -a
copy

List all functions that you could run

>_ compgen -A function
copy

Show shell reserved key words

>_ compgen -k
copy

See all available commands/aliases starting with 'ls'

>_ compgen -ac [ls]
copy

Name

bash, :, ., [, alias, bg, bind, break, builtin, caller, cd, command, compgen, complete, compopt, continue, declare, dirs, disown, echo, enable, eval, exec, exit, export, false, fc, fg, getopts, hash, help, history, jobs, kill, let, local, logout, mapfile, popd, printf, pushd, pwd, read, readonly, return, set, shift, shopt, source, suspend, test, times, trap, true, type, typeset, ulimit, umask, unalias, unset, wait - bash built-in commands, see bash(1)

See Also

bash(1), sh(1)

Site Search
Library
linux docs
linux man pages
page load time
Toys
world sunlight
moon phase
trace explorer

Copied to clipboard
free 100$ digital ocean credit