CmdID

CmdID / Commands

compgen

Bash built-in command for generating possible completion matches in Bash. 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

Bash built-in command for generating possible completion matches in Bash. Usually used within custom completion functions.

List all shell built-ins, aliases, functions, and executables that you could run

compgen -cIdentify

List all commands that you could run that start with a specified string and save results to $COMPREPLY

compgen -V COMPREPLY -c strIdentify

Match against a wordlist

compgen -W "apple orange banana" aIdentify

List all aliases

compgen -aIdentify

List all functions that you could run

compgen -A functionIdentify

Show shell reserved keywords

compgen -kIdentify

See all available commands/aliases starting with ls

compgen -ac lsIdentify

List all users on the system

compgen -uIdentify