Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How would I complete this via linux? In your home directory create files f1.txt, 12.txt, and 13.txt with the following content: America is a great
How would I complete this via linux?
In your home directory create files "f1.txt", "12.txt", and "13.txt" with the following content: America is a great country. LITTLE MARY The American Revolution. This is the best solution to the problem PanAmerica Capital Group the american people ddd United States of America america the brown fox jumped over a lazy dog. Creative thinking "f2.txt" Little Mary Write "grep" commands to accomplish the tasks listed below: 1. List all the files in your home directory that contain the "little Mary word phrase. Make the search case insensitive. Answer: 2. List all the lines in the "f3.txt" file that contain words "America" or "america (only letter 'a' could be in either lower or upper case. The rest of the world is in all lower case letters. Please note that you are asked to search for words. Therefore, lines containing "American" or "PanAmerica" etc should not be listed. Answer: 3. List all the lines in the "f3.txt" file that begin with the words The or the. Only letter it could be in either lower or upper case. The rest of the word is in all lower case letters. Answer: 4. List all the lines in the "f3.txt" file that end with a "." character. Answer: 5. List all the lines in the "f3.txt" file that begin with either "The" or "the" and end with a "." character. Please note the case sensitivity requirement described in question 3. Answer: 6. List all the lines in the "f3.txt" file that contain words which contain exactly one vowel. Make the search case insensitive. Answer: 7. List all the lines in the "f3.txt" file that contain words with a character 'b' not followed by a character 'e'. Make the search case insensitive. Answer: 1 8. List all the lines in the "f3.txt" file that contain words which begin and end with a consonant but otherwise consist only of vowels. Make the search case insensitive. Answer: 9. List all the lines in the "f3.txt" file that contain the words which contain no vowels. Make the search case insensitiveStep 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