15
I was wondering if there’s any way to insert a line break inside the echo
of the shell script.
For example, in the command:
echo "Bom dia fulano"
I’d like the exit to be:
Bom dia
fulano
I know you can do it like this:
echo "bom dia"
echo "fulano"
But I’d really like to know if there’s any way to do that with a echo
only.
There are several other options besides
-e
. Take a look at this short course: http://rberaldo.com.br/curso-shell-script-comandos-basicos-linux/#cmd_echo– Beraldo