lastb
Show a listing of last logged in users. More information: <https://manned.org/lastb>.
Install
- All systems
-
curl cmd.cat/lastb.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 sysvinit-tools - Fedora
-
dnf install util-linux - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install util-linux - OS X
-
brew install util-linux - Raspbian
-
apt-get install util-linux - Docker
-
docker run cmd.cat/lastb lastbpowered by Commando
Show a listing of last logged in users. More information: <https://manned.org/lastb>.
-
Show a list of all last logged in users:
sudo lastb -
Show a list of all last logged in users since a given time:
sudo lastb --since YYYY-MM-DD -
Show a list of all last logged in users until a given time:
sudo lastb --until YYYY-MM-DD -
Show a list of all logged in users at a specific time:
sudo lastb --present hh:mm -
Show a list of all last logged in users and translate the IP into a hostname:
sudo lastb --dns
© tl;dr; authors and contributors