mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 05:48:00 +00:00
34 lines
580 B
Plaintext
34 lines
580 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 {{[-g|--groups]}} {{groups}}`
|
|
|
|
- Display user accounts:
|
|
|
|
`lslogins {{[-u|--user-accs]}}`
|
|
|
|
- Display last logins:
|
|
|
|
`lslogins {{[-L|--last]}}`
|
|
|
|
- Display system accounts:
|
|
|
|
`lslogins {{[-s|--system-accs]}}`
|
|
|
|
- Display supplementary groups:
|
|
|
|
`lslogins {{[-G|--supp-groups]}}`
|