Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

11. I have seen some suspicious activity from IP addresses that start with 68.99. In the file last log they will be listed as 68.99.

image text in transcribed

11. I have seen some suspicious activity from IP addresses that start with "68.99. In the file "last log" they will be listed as "68.99. or "68-99-"or "ip68-99-" and they may have " om" or "o" on the end. (These are Cox users in Omaha. For the correct answer you will need to figure out how to eliminate the extra junk and just use the IP address.) I want you to create one command that will give me a sorted list of these suspicious users in the following format: adaume 68.99.4.45 aigerin 68.99.5.15 snip many are cut out) umahaner 68.99.3.88 aulce 68.99.28.102 You may need to use the combination of "grep", "sed" (with multiple -e options), "ak", "sort", and "unig". The correct output should have 32 people that match. Hints: find out all the lines with that IP pattern, eliminate the possible "ip", eliminate the possible "om" oro, find out the first and third fields, lastly sort and unig. Now what did you come up with

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

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

Students also viewed these Databases questions