Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

LINUX please. Using the regular expression rules create grep commands that locate the following lines in /etc/services : All lines that contain the string smtp.

LINUX please.

Using the regular expression rules create grep commands that locate the following lines in /etc/services:

All lines that contain the string smtp.

All lines that begin with the string smtp.

All lines that include periods (dots, .)

All lines that include the string ftp except when that string is followed immediately by a dash (-).

All lines in which the letter a follows the letter z.

All lines that include the string https or http-, but not those that include http followed by any other character.

All lines that end with a hash mark (#)

You may need to enclose some of the regular expressions required to accomplish these tasks in quotes, as in grep "IANA" /etc/services.

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

Beginning PostgreSQL On The Cloud Simplifying Database As A Service On Cloud Platforms

Authors: Baji Shaik ,Avinash Vallarapu

1st Edition

1484234464, 978-1484234464

More Books

Students also viewed these Databases questions

Question

=+3. How likely is this public to act on information it receives?

Answered: 1 week ago