diff --git a/pages/linux/utmpdump.md b/pages/linux/utmpdump.md new file mode 100644 index 0000000000..b264cb9487 --- /dev/null +++ b/pages/linux/utmpdump.md @@ -0,0 +1,11 @@ +# utmpdump + +> Dump and load btmp, utmp and wtmp accounting files. + +- Dump the `/var/log/wtmp` file to the standard output as plain text: + +`utmpdump {{/var/log/wtmp}}` + +- Load a previously dumped file into `/var/log/wtmp`: + +`utmpdump -r {{dumpfile}} > {{/var/log/wtmp}}`