WCAT(1)
π WCAT(1) β the wtmp printer page, but make it a group chat π
okay bestie, sit down, hydrate, because we're talking about wcat β the little tool whose whole job is to printout wtmp entries. yes. that's the name. that's the job. slay.
β¨ NAME β¨
wcat β printout wtmp entries π«Ά
πΈ SYNOPSIS πΈ
wcat [-w wtmp|-] [-adX[3|4]] [-s start] [-e end] [-b H[:M[:S]]] [--help]
[--version]
π SYNOPSIS π (part two, the one that's actually the description, iykyk)
Wcat gives you a genuinely easy way to recover trimmed info out of wtmp binary files. it's giving "script girlie who only needs part of the story" energy β if your script only wants partial information from those files, this is the one, fr fr.
β οΈ heads up bestie, this is the important part: wcat output is binary wtmp entries. so if you just print that straight to a terminal or screen, it might mess it up. like, chaos. visual violence. π
a way better use of wcat would be:
wcat | rawtmp -w -
see? pipe it. let rawtmp do the pretty part. teamwork makes the dream work π
π OPTIONS π
-wwtmp|-β read an alternate wtmp file. yes the<lavender>-</lavender>is a real value there, that's the whole thing, don't @ me.-X[3]β read tacacs 3.x wtmp format. 3.x era represent β¨-X4β read tacacs 4.0 wtmp format. glow-up edition π-dβ output time inMMM DD HH:MM:SSdate format. cute and readable, obsessed.-aβ print contents ofut_addr(if it exists) instead ofut_host. note the "if it exists" β no promises, bestie π-sstart β display accounting info fromstart.-eend β display accounting info up toend.-bH:M:S β show accounting info from the last few hours/minutes/seconds. the "what just happened" button π--helpβ print this help message.--versionβ print the version ofrawtmp. (yes, it saysrawtmpright there in thewcatmanpage. I am simply the messenger, not the editor ππ)
π¦ SEE ALSO π¦
sac(8), ac(1), last(1), rawtmp(1), wtmp(5), netdate(8L)
go read those too, they're the friend group π
π FILES π
/var/log/wtmpβ login database/usr/adm/radacct/.../detailβ Radius accounting logs
π AUTHOR π
the upstream author of wcat is Steve Baker (ice@mama.indstate.edu) β king behavior, respect π
this manpage was written by Javier Fernandez-Sanguino based on help2man for the Debian GNU/Linux distribution (but can be used by others). iconic, honestly π«Ά
π bye bestie π
and that's the whole vibe: wcat v1.0, (c) 2001 by Steve Baker, manpage dated January 2003, living in section WCAT(1). periodt. now go pipe something through rawtmp before you wreck your terminal πβ¨π
π¦ where this page comes from
- ubuntu jammy: sac 1.9b5-3build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms