EN
Bash - remove newline character after echo output
3 points
In this article, we would like to show you how to remove newline character after echo output in Bash.
Quick solution:
Use
-n
option withecho
command.
Practical example:
xxxxxxxxxx
1
echo -n "Somne text here..."