Changes

Jump to: navigation, search

Tutorial9: Regular Expressions

594 bytes added, 11:16, 11 November 2020
LINUX PRACTICE QUESTIONS
17. Write a Linux command to display all lines in the file called '''~/data.txt''' that begins with 1 or more occurrences of an UPPERCASE letter. 8. Write a Linux command to display all lines in the file called '''~/data.txt''' that ends with 3 or more occurrences of the number 6 9. Write a Linux command to display all lines in the file called '''~/data.txt''' that begins with 2 or more occurrences of the word “the” (upper or lower case). 10. Write a Linux command to display all lines in the file called '''~/data.txt''' that begins with 2 or more occurrences of the word “the” <u>or</u> the word “but” (upper or lower case). 11. 5. Write a Linux command to display all lines in the file called '''~/data.txt''' that begins with a minimum of 2 occurrences and a maximum of 4 occurrences of the word “the” or the word “but” (upper or lower case).
2. Write a Linux command to display all lines in the file called '''~/data.txt''' that ends with 3 or more occurrences of the number 6
13,420
edits

Navigation menu