commands.sh

utmpdump

linux

Dump and load btmp, utmp, and wtmp accounting files.

More info →

Options (1)

-r, --reverseboolean

Load a previously dumped file into `/var/log/wtmp`

Example: utmpdump {{[-r|--reverse]}} {{dumpfile}} > {{/var/log/wtmp}}

Examples (2)

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|--reverse] dumpfile > /var/log/wtmp
made by @shridhargupta | data from tldr-pages