Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The next couple questions deal with the file last_log. Take a look at it if you like, it is just the output of a command

The next couple questions deal with the file last_log. Take a look at it if you like, it is just the output of a command called last. It is in that same directory as before, and you can use it there or copy it if you like.

image text in transcribed

23. The right-most information is how long the user was logged in for; the format is like (days+hours:minutes). The days part will be missing if the user was on for less than 24 hours. How many times was the user rfulkers logged in for more than a day, according to this file, and what command did you come up with to figure this out?

Command:

rfulkers ptsl 1696 mosh 15047] Mon Oct 24 10:01 still logged in rfulkers pts/1700 mosh [16649] Mon Oct 24 10:01 still logged in coltwest pts/1714 fpld-47.crisslib Mon Oct 24 09:59 still logged in adorcy pts/1538 10.12.0.37 Mon Oct 24 09:55 still logged in bross pts/1727 98.23.163.11 via Mon Oct 24 09:46 still logged in bross pts/1727 mosh [18333] Mon Oct 24 09:46 09:46 (00:00) bross ptsl1727 98.23.163.11 via Mon Oct 24 09:46 09:46 (00:00) asusman pts/1706 phi-dev.ist.unom Mon Oct 24 09:46 still logged bross pts/1727 mosh [18333] Mon Oct 24 09:41 09:46 (00:04) twjorgen pts/1758 74.51.217.170 Mon Oct 24 09:39 09:46 (00:06) sshupe pts/1 753 137.48.185.89 Mon Oct 24 09:39 10:01 (00:22) eshafer ptst1752 p 174-74-1-73.om Mon Oct 24 09:38 still logged in youn pts/1585 137.48.185.125 Mon Oct 24 09:38 still logged in mrbacon pts/1750 10.12.5.87 Mon Oct 24 09:34 still logged in wmahoney pts/1749 p68-99-3-88 om. Mon Oct 24 09:32 still logged sriramsr ptsl1746 137.48.186.209 Mon Oct 24 09:31 still logged in osaha ptst1735 10.8.58.76 Mon Oct 24 09:30 still logged in inekl ptsl1723 10.8.9.161 Mon Oct 24 09:30 09:49 (00:19) rfulkers pts/1700 68.13.53.101 via Mon Oct 24 09:26 10:01 (00:35) rfulkers pts/1 700 mosh [16649] Mon Oct 24 09:26 09:26 (00:00) rfulkers pts/1700 68.13.53.101 via Mon Oct 24 09:26 09:26 (00:00) rfulkers ptsl 1696 68.13.53.101 via Mon Oct24 09:26 10:01 (00:35) rfulkers pts/1 696 mosh [15047] Mon Oct 24 09:26 09:26 (00:00) rfulkers ptsl 1696 68.13.53.101 via Mon Oct24 09:26 09:26 (00:00) rfulkers pts/1 696 mosh [15047] Mon Oct 24 09:26 09:26 (00:00) rfulkers pts/1 700 mosh [16649] Mon Oct 24 09:26 09:26 (00:00) bhan drew pts/1709 10.8.17.40 Mon Oct 24 09:24 still logged in rfulkers pts/1696 68.13.53.101 via Mon Oct 24 09:21 09:26 (00:04) rfulkers ptsl 1700 68.13.53.101 via Mon Oct24 09:21 09:26 (00:04) rfulkers pts/1 696 mosh [15047] Mon Oct 24 09:21 09:21 (00:00) rfulkers pts/1 700 mosh [16649] Mon Oct 24 09:21 09:21 (00:00) rfulkers ptsl 1700 68.13.53.101 via Mon Oct24 09:21 09:21 (00:00) rfulkers ptsl 1696 68.13.53.101 via Mon Oct 24 09:21 09:21 (00:00)

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

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions