lslogins: add page (#4563)

beep
en1gma713 2020-10-12 16:16:02 -05:00 committed by GitHub
parent 6e9f3239a3
commit 4d06885a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
pages/linux/lslogins.md Normal file
View File

@ -0,0 +1,28 @@
# lslogins
> Show information about users on a Linux system.
> More information: <https://man7.org/linux/man-pages/man1/lslogins.1.html>.
- 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`