mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
utmpdump: add page (#2931)
This commit is contained in:
parent
7047a2f90b
commit
dac29ac7e0
1 changed files with 11 additions and 0 deletions
11
pages/linux/utmpdump.md
Normal file
11
pages/linux/utmpdump.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue