Hello,

First of all let me say i have very little idea about shell scripting
and linux ( ubuntu ).

I am trying to write a script where i would give it two arguments two dates
in a 29/5 30/5 whitin the console and it would return a list or it out print out
users that were logine'd within that time and for how long and how many times
did they login.

Recommended Answers

All 2 Replies

I have read up so far that i should be taking info out of wtmp file can someone
give me few more pointers.

Hi,
The Linux last command does the trick.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.