How can we find out who are all logged out recently?

Hi,
I need to find out who are all the users logged out recently or some minutes or some hours ago.

:b:

Check the output of the last command.

depends on the destro..you try last, lastlog

Try last | more, this command show the last conections, to view more press space.

lsuser or who may also work for you.