Question: Networking / System administration: Assume there is file that has the following words in its content a. Print all of the lines within the /opt/shakespeare.txt
Networking / System administration:
Assume there is file that has the following words in its content
a. Print all of the lines within the /opt/shakespeare.txt file containing the text faint . Send the standard output to a file named /opt/practice/search/filter01.txt .
b .Print all of the lines within the /opt/shakespeare.txt file containing both the text Romeo and the text Juliet . Send the standard output to a file named /opt/practice/search/filter02.txt .
c .Print all of the lines within the /opt/shakespeare.txt file that end with the text more . Send the standard output to a file named /opt/practice/search/filter03.txt .
d. Print all of the lines within the /opt/shakespeare.txt file that start with the letter S . Send the standard output to a file named /opt/practice/search/filter04.txt .
e. Print all of the lines within the /opt/shakespeare.txt file that contain 4 consecutive vowels. Vowels are the characters a , e , i , o , and u . The 4 consecutive vowels need not be the same. That is, aaaa , aaii , and aeio are all considered 4 consecutive vowels. Send the standard output to a file named /opt/practice/search/filter05.txt .
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
