printf COMMAND:
printf command is used to write formatted output.
SYNTAX:
The Syntax is
printf format [argument]....
OPTIONS:
The format characters and their meanings are:
\b
Backspace.
\n
Newline.
\t
Horizontal tab
\v
Vertical tab.
EXAMPLE:
printf "hello\n"
Use '\n' returns 'hello' to the new line.
printf "hel\blo"
Output:
helo
Here '\b' is used for backspace.
A Note
Find LINUX Commands... Hope you enjoy this tutorial. We welcome your Valuable feedbacks or suggestions on this LINUX / UNIX cmd reference. This is a copyright content.