Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I have been struggling to answer these questions and would really appreciate hel

ID: 3750106 • Letter: I

Question

I have been struggling to answer these questions and would really appreciate help to answer them. Thank you!

Question #1: which filter lets you select only the lines you want from the input? head tr Osort Omore Otail sed grep Question #2: Which flag to grep causes it to display only a count of matching lines? 0-1 -c ONo flag needed; this is the default behavior. Question #3: Each question in an on-line quiz file has a "Q" as the first character on a line. How would I find out how many questions there were in the "filters2" quiz? grep-# AQ' filters2 Cannot be done grep -c Q filters2 Osed -e's * filters2 Ogrep 'Q filters2 I wc -1 Ogrep -n Q filters2 ONone of the othes answers is correct. Osed 's/AQ.*lf filters2 Question #4: Which flag to grep causes it to list only the names of files that have matching lines? 04 ONo flag needed; this is the default behavior. Question #5: I have a program that gives output in the form name: information . 1 Just want to see the names, what command will work if put at the end of a pipe? None of the other answers is correct Osed s/ .*//' This cannot be done grep -v'.*' grep -v'i.*

Explanation / Answer

Answer)

1) grep is the command that would help.

2) -c would help.

4) -w is the command which will help to display the names of the files.

Please note as per Chegg Policy a minimum of 1 question is to be answered. We did 3.

Hit like if you find the answer useful. :)
Hope this answer helps. Thanks

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote