在终端中输入help echo ,回车:
Options:
-n do not append a newline
-e enable interpretation of the following backslash escapes //启用下面的反斜杠转义的解释
-E explicitly suppress interpretation of backslash escapes
`echo' interprets the following backslash-escaped characters:
/a alert (bell) //报警
/b backspace //后退
/c suppress further output //进一步压缩输出
/e escape character //转义字符
/f form feed //换页
/n new line //新行
/r carriage return //回车
/t horizontal tab //水平制表
/v vertical tab
// backslash //反斜杠
/0nnn the character whose ASCII code is NNN (octal). NNN can be
0 to 3 octal digits(八进制)
/xHH the eight-bit character whose value is HH (hexadecimal). HH
can be one or two hex digits (十六进制)
例如:echo -e "Please return /c"