DUMP_UTMP(8)

πŸ“¦
version 6.6.4 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’… DUMP_UTMP(8) β€” System Manager's Manual

okay bestie, so this is dump-utmp, and it's giving "small tool, big main character energy" β€” it lives in section 8, the system manager's manual, so you know it's admin business πŸ‘‘


✨ NAME ✨

dump-utmp β€” print a utmp file in human-readable format 🫢


✨ SYNOPSYS ✨

(no shade, the manpage really does spell it "SYNOPSYS", we're keeping it, periodt πŸ’…)

dump-utmp [-hrR] [-n <recs>] <files>
      [--num <recs>] [--raw] [--reverse] [--help]

so the short flags live in the first line and the long ones get their own little line β€” iconic formatting, ngl 🌸


✨ OPTIONS ✨

The following options are supported β€” and yes we're listing every single one, no skipping πŸ™ˆ

  • -h, --help β€” print a help message and the default location of the process accounting file, then exit. literally the nicest thing a flag can do for you πŸ₯Ί
  • -r, --reverse β€” print the output in reverse order. flip it like a pancake πŸ₯ž
  • -R, --raw β€” the records get printed with zero parsing. no thoughts, head empty, just raw bytes of truth πŸ”₯
  • -n, --num NUMRECS β€” show only the first NUMRECS number of records. a lil snack portion instead of the whole buffet πŸ“

✨ SEE ALSO ✨

go off, related pages, we love a supportive squad 🌈

  • accton (8)
  • lastcomm (1)
  • utmp (5)

quick vibe check bestie: -R/--raw means no parsing at all β€” that's the tool's own words, so don't come for me when it looks like unreadable nonsense. that's the point πŸ’€

🌸 that's the whole page, you ate that 🌸

sign-off szn: this absolute gem comes from the Linux accounting system, dated 2009 December 2 β€” old manpage, still slaying, we love to see it πŸ‘‘βœ¨πŸŽ€