Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lslogins: add page #4563

Merged
merged 5 commits into from
Oct 12, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions pages/linux/lslogins.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# lslogins

> Show information about users in the Linux system.
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://man7.org/linux/man-pages/man1/lslogins.1.html>.

- List data about users in the system:
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

`lslogins`

- List data about users in the system that are in groups:
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

`lslogins --groups`
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

- List information about user accounts:
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

`lslogins --user-accs`