Question: 1)Write a command that counts the total number of lines the string bird exists in a file named The Rhyme of Ancient Mariner in your

1)Write a command that counts the total number of lines the string bird exists in a file named The Rhyme of Ancient Mariner in your current directory

2). Write a command that searches the string line in all .c and .txt files starting from your current directory and all sub directories. (1 point) Metacharacters in Regular Expression

3. What will the following patterns match? Explain. (4 points, 1 point each) a) ^bags$ b) ^$ c) l.g d) ^\.

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!