Last active
December 29, 2017 17:38
-
-
Save hannic/2bdfe1e2a9ba207d7c6937691cf68be5 to your computer and use it in GitHub Desktop.
Lists all commands available on Unix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compgen -c # will list all the commands you could run. | |
compgen -a # will list all the aliases you could run. | |
compgen -b # will list all the built-ins you could run. | |
compgen -k # will list all the keywords you could run. | |
compgen -A function # will list all the functions you could run. | |
compgen -A function -abck # will list all the above in one go. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment