printf Linux Commands
What is Linux printf Command?
Explanation
printf COMMAND:printf command is used to write formatted output.
SYNTAX :
printf format [argument]....
OPTIONS:
The format characters and their meanings are:
b |
Backspace. |
n |
Newline. |
t |
Horizontal tab |
v |
Vertical tab. |
EXAMPLE:
-
printf "hellon"
Use 'n' returns 'hello' to the new line.
-
printf "helblo"
Output:
helo
Here 'b' is used for backspace.