Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

Explain the steps involved in training programmes.

Answered: 1 week ago

Question

What are the need and importance of training ?

Answered: 1 week ago

Question

What is job rotation ?

Answered: 1 week ago