A look at bash internals: compgen

Posted by linuxaria on Jul 24, 2012 3:38 AM EDT
Linuxaria.com
Mail this story
Print this story

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.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.