Question: QUESTION 4 Regular Expressions are used by some commands for pattern matching. True False 2 points QUESTION 5 The program 'tr' is a UNIX Filter.

QUESTION 4

Regular Expressions are used by some commands for pattern matching.

True

False

2 points

QUESTION 5

The program 'tr' is a UNIX Filter.

True

False

2 points

QUESTION 6

The command

grep '^$' file | wc -l

count all the lines in a file which are empty.

True

False

2 points

QUESTION 7

The command

sed 's/a/b/g'

produces the same output as running the command

sed 's;a;b;g'

True

False

2 points

QUESTION 8

Assuming file has 200 lines, the command
sed -n '10,15p' file
prints only lines 10 though 15 of that file

True

False

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!