Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5.4) Please provide a single grep command that displays the first two lines that contain http at the beginning of the lines in file /etc/services.

image text in transcribed

5.4) Please provide a single "grep command that displays the first two lines that contain "http" at the beginning of the lines in file /etc/services. (10 points) The correct output of the command is http http 80/top B0/udp # WorldwideWeb HTTP # HyperText Transfer Protocol It is incorrect if the command displays the following lines or anything other than the correct output shown above: # Updated from http://www.iana.org/assignments/port-numbers and other sources like http://www.freebsd.org/cgi/csweb.cgi/src/etc/services, Please provide your "rep" command below: $ grep 5.5) Please provide a single "grep command that displays all the lines that contain www." in file /etc/services. (10 points) The correct output is: # Updated from http://www.iana.org/assignments/port-numbers and other # sources like http://www.freebsd.org/cgi/evsweb.cgi/src/etc/services It is incorrect if your command displays the following lines or anything other than the correct output shown above: + Updated from http://www.iana.org/assignments/port-numbers and other sources like http://www.freebsd.org/cgi/cvweb.cgi/src/etc/services http 80/top # Worldwide Web HTTP Please provide your answer below: s grop

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

What is operatiing system?

Answered: 1 week ago

Question

Was there an effort to involve the appropriate people?

Answered: 1 week ago