complete

Basic Linux Command Example: 

 

Get help on Linux complete Command.

 

   Linux complete command is use to specify how arguments are to be completed by Readline on Linux system.  The Linux complete command is one of bash shell built in command.  The command example below show how to get help on Linux complete command using shell command, this help show information on how to use the Linux complete command, the complete command options and the arguments that can be use with Linux complete command.

 

Get Linux complete 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 complete command using the manpage format.

complete linux command

[linux@fedora11 ~]$ help -m complete

NAME

    complete - Specify how arguments are to be completed by Readline.

 

SYNOPSIS

    complete [-abcdefgjksuv] [-pr] [-o option] [-A action] [-G globpat] [-W wordlist]  [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]

 

DESCRIPTION

    Specify how arguments are to be completed by Readline.

 

    For each NAME, specify how arguments are to be completed.  If no options

    are supplied, existing completion specifications are printed in a way that

    allows them to be reused as input.

 

    Options:

      -p        print existing completion specifications in a reusable format

      -r        remove a completion specification for each NAME, or, if no

        NAMEs are supplied, all completion specifications

 

    When completion is attempted, the actions are applied in the order the

    uppercase-letter options are listed above.

 

    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: complete, complete command, linux complete command, complete linux command, complete help, help complete, command complete help, help complete command