Name

compgen

Synopsis

compgen [options] [string]

Generate possible completions for string according to the options and write to standard output. Options are those accepted by complete, except for -p and -r. For more information, see the entry for complete.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.