Shell Script for collecting user login dates

I'm having problem making a shell manuscript that will certainly make a checklist of all the days when users visit. I desire one of the most current access to be on the top (due to the fact that I recognize if you simply make use of date >> logdates it'll get presented under.

So I would certainly desire the columns to be day, sv, and afterwards the days when visited - so visit days from one of the most current to the old ones.

2
2022-07-25 20:45:23
Source Share