Question: For the below questions, use grep with appropriate options; either by itself or in a pipe a) Count the number of subdirectories in /etc b)

 For the below questions, use grep with appropriate options; either by

For the below questions, use grep with appropriate options; either by itself or in a pipe a) Count the number of subdirectories in /etc b) Count the total entries in a directory c) Find all the lines that contain pizza, ignoring the case d) Find the location of the selected lines within the data stream e) You should have the following files in your directory: info, whodb, cysum, psdb, and wdb 6. Provide a command to identify which of these files contain your username (case insensitive) as the starting word of the line What is the command to see which file do not contain your username (case sensitive) as a word anywhere in a line? Processes (file psdb) not started (or owned) by root How many processes were started by the root? f) g) h)

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!