Question: Section 1 - Basic grep Commands 1 . Log in to your Pi as a regular ( non - root and non - admin )
Section Basic grep Commands Log in to your Pi as a regular nonroot and nonadmin user, then open a terminal window andnavigate to usrsharecommonlicenses Run the following command: grep "GNU" GPL Modify the command in # so that it displays the total number of lines containing matches. a How many lines are there? b What command did you enter for this step? Modify the command in # so that it returns the number of matches. We saw how to do thiswith pipes in the lecture videos.a How many matches are there?b What command did you enter for this step?Modify the command in # so that it returns the number of caseinsensitive matches meaningit doesn't care about capitalizationa How many matches are there? b What command did you enter for this step? This shows all lines in GPL ending with a capital lettergrep AS GPL
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
