lslogins

Show information about users on a Linux system.

TLDR

Display users in the system

$ lslogins
copy

Display users belonging to a specific group

$ lslogins --groups=[groups]
copy

Display user accounts

$ lslogins --user-accs
copy

Display last logins

$ lslogins --last
copy

Display system accounts

$ lslogins --system-accs
copy

Display supplementary groups

$ lslogins --supp-groups
copy

Copied to clipboard
free 100$ digital ocean credit