McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | information Center | Home
Glossary
Sample Configuration Scripts
Internet Resources
Multiple Choice Quiz
True or False
Feedback
Help Center


Book cover
Introduction to UNIX
Kate Wrightson
Joe Merlino

Shell Programming III - Regular Expressions

True or False

Click on the correct response for each question below.



1

Pattern matching in Unix is done with "regular expressions".
A)TRUE
B)FALSE
2

"Regular expression" is a symbol which stands in for particular textual strings.
A)TRUE
B)FALSE
3

Most metacharacters are used directly at the shell prompt.
A)TRUE
B)FALSE
4

The acronym GREP stands for "graphic expression".
A)TRUE
B)FALSE
5

"grep" searches for file names that match a pattern.
A)TRUE
B)FALSE
6

Output from "grep" by default, normally goes to the printer.
A)TRUE
B)FALSE
7

"grep" often gets its input, not from a file, but from output piped from another command.
A)TRUE
B)FALSE
8

The "\" (backslash), when preceding a character, means to skip that character.
A)TRUE
B)FALSE
9

The simple statement "awk '{print $1}' hello.doc" will cause the first field of every record in "hello.doc" to be displayed on the standard output device.
A)TRUE
B)FALSE
10

"Sed" ,when invoked, allows you to specify a file containing "sed" commands to be executed.
A)TRUE
B)FALSE




McGraw-Hill/Irwin