Question: Answer questions # 7 and 8 please. What commands to use to do the following using grep in linux. rite a single shell script which

Answer questions # 7 and 8 please. What commands to use to do the following using grep in linux.  Answer questions # 7 and 8 please. What commands to use

rite a single shell script which uses grep to find out the following information about ap.txt: 1. Does the string "happy" appear in the file? 2. How many lines contain at least one occurrence of the string "soap"? 3. How many lines contain multiple occurrences of the string "soap"? 4. How many lines do not begin with a lowercase letter? 5. How many sentences end at the end of a line (the punctuation','?', or "' is the 6. 7. 8. last character in the line)? How many lines contain a number? How many lines contain a two-digit number? How many lines contain a nine-letter word

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!