Question: cd to my home directory Create a regular expresssion that when used within a grep command string will search the contents of the file called

cd to my home directory
Create a regular expresssion that when used within a grep command string will search the contents of the file called autos and output only the following lines:
chevy camaro 9615000
cadillac catera 9834000
What regular expression will output the above 2 lines?
'c[ha]'
'^c.*9[6]'
'c.* c.*'
'chev .*'
Yes
No

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 Programming Questions!