Answered step by step
Verified Expert Solution
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. or
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 mea sorted list of these suspi icious users in the following format adammuno 68.99.4.45 ajgehrin 68.99.5.15 (snip - many are cut out) wmahoney 68.99.3.88 zfaulkne 68.99.28.10.2 You may need to use the combination of "grep", "sed" (with multiple-e options), "awk", "sort", and "uniq". 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" or ".o", find out the first and third fields, lastly sort and uniq. Now what did you come up with
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started