Terms

Escaping Escaping a character means to put a backslash (\) just before that character. Escaping can either remove the special meaning of a character in a shell command, or it can add special meaning as you saw with \n in the echo command. The character following the backslash is called an escaped character.

Literal characters These characters have no special meaning and cause no extra action to be taken. Quoting causes the shell to treat a wildcard as a literal character.

Meta-characters A character that has an extra meaning or causes some action to be taken by the shell or other UNIX commands.

Newline This is literally the linefeed character whose ASCII value is 10. In general, the newline character is a special shell character that indicates ...

Get Sams Teach Yourself Shell Programming in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.