1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 23:17:58 +01:00

utmpdump: add page (#2931)

This commit is contained in:
lbonanomi 2019-04-19 02:29:16 -04:00 committed by Owen Voke
parent 7047a2f90b
commit dac29ac7e0

11
pages/linux/utmpdump.md Normal file
View file

@ -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}}`