Newline in the SHELL

Solved
kyloo49 -  
 @Y0UB -
Hello,

I'm a beginner on Linux; in fact, I just started yesterday! I have a big question that's a bit silly, but how do you make a line break in the SHELL without submitting our command? And first of all, is it even possible? lol

Example:
tatata tatata tatata


Thanks +++

8 réponses

Ravachol Posted messages 568 Status Membre 120
 
Hello,

To get your example with line breaks between each word you can type this:
echo -e "tatata\ntatata\ntatata"


A++
A god is born, others die. The truth has neither come nor gone.
Only the error has changed. EUGÈNE PELLETAN
22
@Y0UB
 
Note: it doesn't work without the quotes.
thank you
0