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.
[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 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.
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: 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
- Add new comment
- 554 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