mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 10:18:51 +03:00
lslogins: add page (#4563)
This commit is contained in:
parent
6e9f3239a3
commit
4d06885a4f
28
pages/linux/lslogins.md
Normal file
28
pages/linux/lslogins.md
Normal 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`
|
Loading…
Reference in New Issue
Block a user