Show all available commands, aliases and functions
compgen [builtins] (1) - bash built-in commands, see bash(1)
compgen: usage: compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]
man 1 bash
How are we going to create a list of commands for ‘Command of the Day’? Compgen!
compgen
Create an alias for compgen to show all functions: alias compgen=‘compgen -abckA function’. This will print in list format including all aliases, built-ins, commands and functions available