bash shell script

i want to monitor which users logged in to unix system if users who logged in more than once then store to a text file .
any idea?

Is this a homework question? If so, we can't help you, read of the rules.

Assuming that it's not, what are you working on?

Regards

Try checking the below link.

Thx.