Escape new line in Unix shell script

To escape new line in Unix shell script, use -n

Example:-
If you write script-

echo "Our Techno Bytes"
echo "is a techno page"

Output:- Our Techno Bytes
is a techno page


If you write script-

echo -n "Our Techno Bytes"
echo "is a techno page"

Output- Our Techno Bytes is a techno page

Comments

  1. Dafabet | T&C's Apply | T&C's Apply | The Sportsbook
    Dafabet dafabet has been online since 2005 and currently has william hill 2,300+ online sports betting and casino apps and one of rb88 our best bonuses in the state.

    ReplyDelete

Post a Comment

Popular Posts