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

**URL:** <https://community.unix.com/t/how-can-we-find-out-who-are-all-logged-out-recently/247345>\
**Category:** Ubuntu\
**Created:** [August 19, 2009, 3:13am UTC](https://community.unix.com/t/how-can-we-find-out-who-are-all-logged-out-recently/247345 "2009-08-19T03:13:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![balan\_mca](https://community.unix.com/letter_avatar/balan_mca/32/5_5575768a8748004e209b776fc1b2916d.png) [@balan\_mca](https://community.unix.com/u/balan_mca)\
**Post date:** [August 19, 2009, 3:13am UTC](https://community.unix.com/t/how-can-we-find-out-who-are-all-logged-out-recently/247345/1 "2009-08-19T03:13:05Z")

</div>

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

:b:

---

<div class="post-metadata">

**Author:** ![zaxxon](https://community.unix.com/user_avatar/community.unix.com/zaxxon/32/660_2.png) [@zaxxon](https://community.unix.com/u/zaxxon)\
**Post date:** [August 19, 2009, 3:38am UTC](https://community.unix.com/t/how-can-we-find-out-who-are-all-logged-out-recently/247345/2 "2009-08-19T03:38:10Z")

</div>

Check the output of the last command.

---

<div class="post-metadata">

**Author:** ![r00t4u](https://community.unix.com/letter_avatar/r00t4u/32/5_5575768a8748004e209b776fc1b2916d.png) [@r00t4u](https://community.unix.com/u/r00t4u)\
**Post date:** [August 19, 2009, 7:15am UTC](https://community.unix.com/t/how-can-we-find-out-who-are-all-logged-out-recently/247345/3 "2009-08-19T07:15:54Z")

</div>

> [@balan\_mca](#):
>
> Hi,  
> I need to find out who are all the users logged out recently or some minutes or some hours ago.
> 
> :b:

depends on the destro..you try last, lastlog

---

<div class="post-metadata">

**Author:** ![jtorres](https://community.unix.com/letter_avatar/jtorres/32/5_5575768a8748004e209b776fc1b2916d.png) [@jtorres](https://community.unix.com/u/jtorres)\
**Post date:** [September 9, 2009, 7:33pm UTC](https://community.unix.com/t/how-can-we-find-out-who-are-all-logged-out-recently/247345/4 "2009-09-09T19:33:08Z")

</div>

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

> [@balan\_mca](#):
>
> Hi,  
> I need to find out who are all the users logged out recently or some minutes or some hours ago.
> 
> :b:

---

<div class="post-metadata">

**Author:** ![techlinux](https://community.unix.com/letter_avatar/techlinux/32/5_5575768a8748004e209b776fc1b2916d.png) [@techlinux](https://community.unix.com/u/techlinux)\
**Post date:** [September 10, 2009, 8:55am UTC](https://community.unix.com/t/how-can-we-find-out-who-are-all-logged-out-recently/247345/5 "2009-09-10T08:55:15Z")

</div>

lsuser or who may also work for you.
