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.
You might also like to view...
¿Cuál de los siguientes puede verse como un interruptor de CA?
a. Diac b. LED c. JFET d. SCR
Ms. Johns has a storage building measuring 32 feet long, 24 feet wide, and 12 feet high on her farm.
a. What is the storage capacity of the building in cubic feet? b. If she fills the building to 82 percent capacity, how many bushels of corn can be stored in the building?
About _____ geese are raised annually in the United States
a. 1,000 c. 100,000 b. 10,000 d. 1,000,000
Taking the elevation of a leveling rod held upside-down results in a _____
a. positive backsight reading b. negative foresight reading c. negative backsight reading d. positive foresight reading