Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started