Basic Linux Command Example: 


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


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



    printf [-v var] format [arguments]



    Formats and prints ARGUMENTS under control of the FORMAT.



      -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



    In addition to the standard format specifications described in printf(1)

    and printf(3), printf interprets:


      %b        expand backslash escape sequences in the corresponding argument

      %q        quote the argument in a way that can be reused as shell input


    Exit Status:

    Returns success unless an invalid option is given or a write or assignment

    error occurs.






    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 <>


[linux@fedora11 ~]$


Keywords: printf, printf command, linux printf command, printf linux command, linux command printf, printf command manual, printf manual, printf help, help printf, command printf help, help printf command