Question: please i need help in unix programming. thank you Question 181 pt What will the below command do? grep '8..' filename Prints all lines start

please i need help in unix programming. thank you

Question 181 pt

What will the below command do? grep '8\..' filename

Prints all lines start with the number 8 and followed by any digit
Prints all lines start with the number 8 and followed by any letter
Prints all lines ending with the number 8
None of the mentioned

Question 191 pts

What will the below command do? grep '\.7' filename

Prints all lines start with the number 7
Prints all lines end with the number 7
Prints any line not containing the expression .7
Prints any line containing the expression .7
None of the mentioned

Question 201 pts

What will the below command do? grep '^[we]' filename

Prints all lines beginning with either a w or an e
Prints all lines beginning with a w and followed by an e
Prints all lines ending with the we
None of the mentioned

Question 211 pts

What will the below command do? grep '[a?z]\{11\}' filename

Prints all lines containing at most eleven consecutive lowercase letters
Prints all lines containing at least eleven consecutive lowercase letters
Prints all lines containing lowercase letters followed by number eleven
None of the mentioned

Question 221 pts

What will the below command do? grep i 'north' filename

Prints all lines containing lowercase north letters
Prints all lines containing uppercase north letters
Prints all lines containing an uppercase n followed by lowercase o, r, t, and h letters
Both a and b

Question 231 pts

What will the below command do? egrep 'NA|EA' filename

Prints the lines beginning with either the expression NA or the expression EA
Prints the line if it contains NA and EA expressions
Is the same as grep '[N/E]A' filename command
None of the mentioned

Question 241 pts

What will the below command do? egrep '4+' filename

Prints all lines containing more than one occurrences of the number 4
Prints all lines containing one or more occurrences of the number 4
Prints all lines containing more than four occurrences of the number 4
None of the mentioned

Question 251 pts

What will the below command do? egrep '7\.?[09]' filename

Prints all lines containing a 7, followed by zero or one period, followed by a number
Prints all lines containing a 7, followed by one or more period, followed by a number
Prints all lines containing a 7, followed by one period, followed by one number
None of the mentioned

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!