printf

 

Get help on Linux printf Command.

 

   Linux printf command is use to format and prints arguments under control of the format on Linux system.  The Linux printf command is one of bash shell built in command.  The command example below show how to get printf command manual or help on Linux printf command using shell command, this help show information on how to use the Linux printf command, the printf command options and the arguments that can be use with Linux printf command.

 

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

printf linux command

[linux@fedora11 ~]$ help -m printf

NAME

    printf - Formats and prints ARGUMENTS under control of the FORMAT.

 

SYNOPSIS

    printf [-v var] format [arguments]

 

DESCRIPTION

    Formats and prints ARGUMENTS under control of the FORMAT.

 

    Options:

      -v var    assign the output to shell variable VAR rather than

                display it on the standard output

 

    FORMAT is a character string which contains three types of objects: plain

    characters, which are simply copied to standard output; character escape

    sequences, which are converted and copied to the standard output; and

    format specifications, each of which causes printing of the next successive

    argument.

 

    In addition to the s