Answers for "bash format string"

0

bash format string

echo [option(s)][string(s)]

-n	Do not print the trailing newline
-E	Disable interpretation of back-slash escaped characters
-e	Enable interpretation of backslash escapes
a	Alert
b	Backspace
c	Suppress trailing newline
e	Escape
f	Form feed
\	backslash
n	New line
r	Carriage return
t	Horizontal tab
v	Vertical tab

echo -e "Hello nmy nname nis nJohn nDoe"
output:
Hello 
my
name
is
John
Doe
Posted by: Guest on February-05-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language