Table 7.3. echo Escape Sequences |
Sequence | Character Printed |
\a | ALERT or CTRL-G (bell) |
\b | BACKSPACE or CTRL-H |
\c | Omit final NEWLINE |
\E | Escape charactera |
\f | FORMFEED or CTRL-L |
\n | NEWLINE (not at end of command) or CTRL-J |
\r | RETURN (ENTER) or CTRL-M |
\t | TAB or CTRL-I |
\v | VERTICAL TAB or CTRL-K |
\n | ASCII character with octal (base-8) value n, where n is 1 to 3 digits |
\\ | Single backslash |