echo -n 表示不换行输出
echo -e 将转义后的内容输出到屏幕上;
[root@localhost ~]# echo “abc\ncdef”
abc\ncdef
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# echo “abc\ncdef” -e
abc\ncdef -e
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# echo -e “abc\ncdef”
abc
cdef