Hour 10. Quoting

In the preceding chapter, you looked at substitution, which occurs automatically whenever you enter a command containing a meta-character or a $. The way the shell interprets these and other special characters is generally useful, but sometimes it is necessary to turn off shell substitution and let each character stand for itself. Turning off the special meaning of a character is called quoting, and it can be done in three ways:

Quoting can be a very complex issue, even for experienced UNIX programmers. In this chapter, you look at each of these forms of quoting and learn how to use them. You learn a series of simple rules to help you understand when ...

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.