Linux Command Library
commands
Commands
basic
Basic
tips
Tips

compgen

bash built-in commands, see bash(1)

- List all commands that you could run:
compgen -c

- List all aliases:
compgen -a

- List all functions that you could run:
compgen -A function

- Show shell reserved key words:
compgen -k

- See all available commands/aliases starting with 'ls':
compgen -ac [ls]

bash(1), sh(1)

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

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied