Linux how to ‘echo’ without a new line

Simply put: use printf

printf "Hello World"

Alternatively, if you insist on using echo

echo -e "No New line...c"

test with

echo -e "No New line...c" ; echo "test 4 urself"

 

You may also like...

Leave a Reply