Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Write the command that would find all lines that have an email address and place a label email = before the line in the file

Write the command that would find all lines that have an email address and place a label email = before the line in the file longfile

output will multiple lines similar to this one :

email= Message-Id: 199801232015.MAA21444@mail-gw2.pacbell.net

NOTE: this will be a long listing. The line above would not be a good example since 199801232015.MAA21444@mail-gw2.pacbell.netwould not be a valid email address. You would be searching for lines with the words from: to: Cc:, usually after these characters, there could be a good, valid e-mail address.

I need to use an awk command and on Putty (Unix/Linux)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions

Question

What would I do next and why?

Answered: 1 week ago