utmpdump
Dump and load btmp, utmp and wtmp accounting files. More information: <https://manned.org/utmpdump>.
Install
- All systems
-
curl cmd.cat/utmpdump.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 updatesudo apt-get install util-linux - OS X
-
brew install util-linux - Raspbian
-
apt-get install util-linux - Docker
-
docker run cmd.cat/utmpdump utmpdumppowered by Commando
Dump and load btmp, utmp and wtmp accounting files. More information: <https://manned.org/utmpdump>.
-
Dump the `/var/log/wtmp` file to `stdout` as plain text:
utmpdump /var/log/wtmp -
Load a previously dumped file into `/var/log/wtmp`:
utmpdump -r dumpfile > /var/log/wtmp
© tl;dr; authors and contributors