shell中echo输出换行的方法

 

[~]#echo "Hello world.\nHello sea"
Hello world.\nHello sea
[~]#echo -e "Hello world.\nHello sea"
Hello world.
Hello sea
[~]#

 

 

参考:

https://blog.csdn.net/u013425438/article/details/80389176

posted @ 2019-12-03 16:00  anobscureretreat  阅读(8759)  评论(0编辑  收藏  举报