compgen
Get help on Linux compgen Command.
Linux compgen command is use to display possible completions depending on the options. The Linux compgen command is one of bash shell built in command. The command example below show how to get help on Linux compgen command using shell command, this help show information on how to use the Linux compgen command, the compgen command options and the arguments that can be use with Linux compgen command.
Get Linux compgen command help
Execute help command and the name of Linux command that we want the help file, the example below we execute help command with -m option to get the help for compgen command using the manpage format.

[linux@fedora11 ~]$ help -m compgen
NAME
compgen - Display possible completions depending on the options.
SYNOPSIS
compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]
DESCRIPTION
Display possible completions depending on the options.
Intended to be used from within a shell function generating possible
completions. If the optional WORD argument is supplied, matches against
WORD are generated.
Exit Status:
Returns success unless an invalid option is supplied or an error occurs.
SEE ALSO
bash(1)
IMPLEMENTATION
GNU bash, version 4.0.16(1)-release (i386-redhat-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[linux@fedora11 ~]$
Keywords: compgen, compgen command, linux compgen command, compgen linux command, compgen help, help compgen, command compgen help, help compgen command
- Add new comment
- 585 reads
- Tell your friends

Recent comments
16 weeks 5 days ago
21 weeks 10 hours ago
21 weeks 12 hours ago
24 weeks 4 days ago
24 weeks 4 days ago
29 weeks 5 days ago
29 weeks 6 days ago
29 weeks 6 days ago