This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the bash category.
Last Updated: 2023-03-28
Someimtes it's helpful to see all the commands that are available or remind yourself of a command's spelling. A handy hack for doing this is as follows:
The compgen command is used to generate all possible completion matches. And the
-c option tells it to do so for "all commands"