mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 08:49:50 +00:00
34 lines
535 B
Plaintext
34 lines
535 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|