I was wondering if ubuntu (preferably 9.04) has something that can determine if the user has logon to his computer the first time, and more then one time on the same day.
The reason why I need this is to create a bash script which will launch an application (ie Firefox) if he had logged the first time on that day. But if he had log in again in the same day, it will not launch the application again.
Does anyone know if Ubuntu possess such a feature in a command line?