Question: Using only the grep command, search all files with names that end in either .html or .htm under the $HOME/public_html directory and display any lines

Using only the grep command, search all files with names that end in either .html or .htm under the $HOME/public_html directory and display any lines that contain body tags (containing ''). No other output should be displayed even if there is no public_html directory. Hint: use two command arguments and 2>

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!