lslogins
Show information about users on a Linux system. More information: <https://man7.org/linux/man-pages/man1/lslogins.1.html>.
Install
- All systems
-
curl cmd.cat/lslogins.sh
- Debian
-
apt-get install util-linux
- Ubuntu
-
apt-get install util-linux
-
Alpine
-
apk add util-linux
- Arch Linux
-
pacman -S util-linux
- Kali Linux
-
apt-get install util-linux
- CentOS
-
yum install util-linux
- Fedora
-
dnf install util-linux
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install util-linux
- OS X
-
brew install util-linux
- Raspbian
-
apt-get install util-linux
- Dockerfile
- dockerfile.run/lslogins
- Docker
-
docker run cmd.cat/lslogins lslogins
powered by Commando
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
© tl;dr; authors and contributors