O'Reilly logo

Practical UNIX by Steve Moritsugu - DTR Business Systems

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Quoting Rules

In this chapter, you have encountered these special characters:

  • # (comment)

  • > (redirection)

  • | (piping)

In later chapters, you will encounter other special characters and wildcards. Sometimes it is necessary to turn off the special meaning of these characters and let the character just stand for itself. Turning off the special meaning of a character is called quoting, and it can be done with three ways:

  • Using the backslash (\)

  • Using the single quote (')

  • Using the double quote (")

Quoting can be a complex issue, even for experienced UNIX programmers. These next sections give you a series of simple rules to help you understand when quoting is needed and how to do it correctly. Many of these rules are needed by commands in later chapters. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required