Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

These are linux commands. Type cd /usr/share/dict . The file words is the Linux English dictionary. You will use egrep to explore this file. Your

These are linux commands. Type cd /usr/share/dict. The file words is the Linux English dictionary. You will use egrep to explore this file. Your answers below will be the egrep command that solves the problem.

a.List all words that have the letter a followed immediately by the letter z.

b.List all words that have the letter a followed sometime later by the letter z (there must be at least one letter in between).

c.List all words that start with the letter a and end with the letter z.

d.List all five letter words that start with the letter a and end with the letter z.

e.List all words that start with two capital letters followed immediately by at least one lower case letter.

f.List all words with two consecutive as, is or us. Recall that | means or.

g.List all words that contain a q followed by a non-u (Iraqi should be listed, but queen should not).

h.List all entries in the file that contain at least one non-letter.

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_2

Step: 3

blur-text-image_3

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

Pro PowerShell For Database Developers

Authors: Bryan P Cafferky

1st Edition

1484205413, 9781484205419

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago