Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this Linux question.We need to know how many times a user was logged in more than a day.So I need help

I need help with this Linux question.We need to know how many times a user was logged in more than a day.So I need help coming up with a command that will give me the answer.

image text in transcribed

The next couple questions deal with the file ast 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 rfulkers pts/1696 mosh [15047] Mon Oct 24 10:01 still logged in rfulkers ptsl 1700 mosh [16649] Mon Oct 24 10:01 still logged in coltwest ptsl 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 Oct24 09:46 still logged in bross pts/1727 mosh [18333] Mon Oct 24 09:46 09:46 (00:00) bross ptsl 1727 98.23.163.11 via Mon Oct 24 09:46 09:46 (00:00) asus man pts/1706 phi-devist unom Mon oct 24 09:46 still logged bross ptsl 1727 mosh [18333] Mon Oct 24 09:41 09:46 (00:04) twjorgen ptsl 1758 74.51.217.170 Mon Oct 24 09:39 09:46 (00:06) sshupe ptsl 1753 137.48.185.89 Mon Oct 24 09:39 10:01 (00:22) eshafer pts/1752 p174-74-1-73 om Mon Oct 24 09:38 still logged ir iyoun 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.0m. Mon Oct 24 09:32 still loggec sriramsr pts/1746 137.48.186.209 Mon Oct 24 09:31 still logged in osaha pts/1735 10.8.58.76 Mon Oct 24 09:30 still logged in nekl pts/1723 10.8.9.161 Mon Oct 24 09:30 09:49 (00:19) rfulkers ptsl1700 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 pts/1696 68.13.53.101 via Mon Oct 24 09:26 10:01 (00:35) rfulkers ptsl 1696 mosh [15047] Mon Oct 24 09:26 09:26 (00:00) rfulkers pts/1696 68.13.53.101 via Mon Oct 24 09:26 -09:26 (00:00) rfulkers ptsl 1696 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 pts/1700 68.13.53.101 via Mon Oct 24 09:21 09:26 (00:04) rfulkers pts/1696 mosh 150471 Mon Oct 24 09:21 09:21 (00:00) rfulkers ptsl 1700 mosh [16649] Mon Oct 24 09:21 09:21 (00:00) rfulkers pts/1700 68.13.53.101 via Mon Oct 24 09:21 09:21 (00:00) rfulkers pts/1696 68.13.53.101 via Mon Oct 24 09:21 09:21 (00:00) 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 ogged in for more than a day, according to this file, and what command did you come up with to figure this out? Command

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_2

Step: 3

blur-text-image_3

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

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

2. How were various roles filled?

Answered: 1 week ago