How to use last command to get login information on a particular day in Linux and send an email alert at the end of the day

closed as too broad by Rui F Ribeiro, Sparhawk, Jeff Schaller, G-Man, msp9011 Dec 7 at 5:46

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    Please add what you have done until now, and how we might aid clarifying some doubt on your script. This is not a script making service. – Rui F Ribeiro Dec 6 at 21:56
  • 2
    Let's say the day is December 5. Do you want all logins that day, all logouts that day, or all sessions that were active that day, even if they began before December 5 and ended after December 5? (If this is an assignment, please edit your question to include the full text). – Mark Plotnick Dec 6 at 22:04

Browse other questions tagged or ask your own question.