linux echo newline code example
Example 1: echo new line
echo -e "hello\nworld"
Example 2: newline in echo unix
echo $'hello\nworld'
Example 3: echo new line
echo -e "hello\nworld"
# Output
/*
* hello
* world
*/
Example 4: how to print new line in shell script
echo -e 'This is First Line \nThis is Second Line'