使用bash echo 输出回车转义

输出回车

 

[root@~]# echo -e 'hello\n'
hello

 

回车去掉

[root@~]# echo -n hello
hello[root@~]# 

  

posted @ 2018-07-02 09:37  一只小小的寄居蟹  阅读(4166)  评论(0编辑  收藏  举报