list users in ubuntu

If you are using a shared ubuntu machine,you may want to check who has an account on this ubuntu machine or how many users share this computer.You can list user via command or graphic tool,here we go:

List Users in Ubuntu via command

1.Open a terminal by pressing CTL+ALT+t  or searching “Terminal” in Dash

2.Run command lastlog to list all users in your Ubuntu machine

lastlog

List Users in Ubuntu via Graphic tool User Accounts

Search  “User” in Dash ,then click User Accounts,

then you will see a window show you all users in this computer

Leave a Reply

Your email address will not be published. Required fields are marked *