Jul 232012
Inspired from a post by Concepcion Claudio Certad, today I’ve taken a look at a command that I did not known: compgen.
The compgen builtin command expands a list of arguments to generate completion matches, so it allows us to display the commands, functions, directories and aliases available for the current user. In short compgen is a command that displays commands.
Continue reading »