Question: 1. Show the translate command that will delete the characters listed below from a file called foo. Characters to delete are listed below ! @

1. Show the translate command that will delete the characters listed below from a file called foo.

Characters to delete are listed below

! @ % ; : ( )

Ampersand, at sign, percentage sign, semicolon, colon, left parentheses, and the right parentheses.

2. Given the following command $egrep [ac][1-4] foo.txt

List all possible matches that egrep will find.

3. Explain the following command.

$ egrep ^[^1] foo.txt

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!