Home Download Ubuntu

How to see who's logged in?

Sometimes you may wanna see who's logged in, if multiple administrators or users are using the same machine.

1. The simpliest command to see who's logged in:


2. If you want more detailed output install finger:

sudo apt-get install finger

finger -ls

this command will output the users login username, real name, home directory, shell access, the last login time, idle time, the ip from which he logged on.

more info:

man finger

3. to see the last logins and logout history on current machine:


4. to see the last login of all users on current machine:



Post a Comment