Question: Section 1 - Basic grep Commands 1 . Log in to your Pi as a regular ( non - root and non - admin )

Section 1- Basic grep Commands 1. Log in to your Pi as a regular (non-root and non-admin) user, then open a terminal window andnavigate to /usr/share/common-licenses/2. Run the following command: grep "GNU" GPL-33. Modify the command in #2 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?4. Modify the command in #2 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?5.Modify the command in #4 so that it returns the number of case-insensitive matches (meaningit doesn't care about capitalization)a. How many matches are there? b. What command did you enter for this step?6. This shows all lines in GPL-3 ending with a capital lettergrep "[A-2]S" GPL-3

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!