mirror of https://github.com/CrimsonTome/tldr.git
29 lines
443 B
Markdown
29 lines
443 B
Markdown
# lslogins
|
|
|
|
> Show information about users on a Linux system.
|
|
> More information: <https://manned.org/lslogins>.
|
|
|
|
- Display users in the system:
|
|
|
|
`lslogins`
|
|
|
|
- Display users belonging to a specific group:
|
|
|
|
`lslogins --groups={{groups}}`
|
|
|
|
- Display user accounts:
|
|
|
|
`lslogins --user-accs`
|
|
|
|
- Display last logins:
|
|
|
|
`lslogins --last`
|
|
|
|
- Display system accounts:
|
|
|
|
`lslogins --system-accs`
|
|
|
|
- Display supplementary groups:
|
|
|
|
`lslogins --supp-groups`
|