How to insert a new line in Linux shell script

We can insert a new line in Linux shell script by using options of echo command.

For eg:

#echo -e "Test1\nTest2"

This will print output as,

Test1
Test2

That's all...

Leave a Reply

Your email address will not be published. Required fields are marked *