In some cases, when you use grep, it is helpful to enter the character pattern you are trying to find in single or double quotes. Why?

What will be an ideal response?


This is true when you are looking for two or more words, so that the words can be distinguished from a file, as in the command: grep ‘red hat' operating_system. In this example,‘red hat' is the character pattern and operating_system is the file you are searching. If you enter red hat without quotes you are likely to get an error because grep interprets hat as a file name.

Trades & Technology

You might also like to view...

De acuerdo a la OSHA, las escaleras de tijera para uso industrial no deben superar los _____.

a. 6 pies (1,83 m) b. 10 pies (3,05 m) c. 20 pies (6,10 m) d. 50 pies (15,24 m)

Trades & Technology

What is the name of the part of the weld that letter D is pointing to in Figure 1?

a. Leg
b. Root
c. Face
d. Toe
e. Land

Trades & Technology

The commutator should be cleaned with ____.

A. solvent B. crocus cloth C. brushes D. sandpaper

Trades & Technology

____ ventilation provides equal parts supply and exhaust air through the use of fans.

A. Exhaust B. Balanced C. Supply-only D. Pressurized

Trades & Technology