echo -e "text1\ntext2"
-e表示开启转移字符
Linux下的echo输出换行符
原文:https://www.cnblogs.com/EasonJim/p/8306806.html