HIST(1)
πΈ HIST(1) β the manual page, but make it make sense πΈ
ok so this is hist(1), from the General Commands Manual β aka the glow-up your file history has been waiting for π
β¨ NAME β¨
hist, history β print file names from the dump ποΈβ¨
β¨ SYNOPSIS β¨
hist [ -vdu ] [ -s yyyymmdd ] files ...
β¨ DESCRIPTION β¨
okay bestie, listen π«Ά β hist prints the names, dates, and sizes of all versions of the files you name, looking backwards in time, stored in the dump file system. it's giving time travel but make it filesystem π¦
and like, if the file also exists in the main tree, the first line of output will be its current state β cute little bonus first row π
for example, this:
hist ~rsc/.bash_history
produces this:
May 19 16:11:37 EDT 2005 /home/am3/rsc/.bash_history 6175
May 18 23:32:16 EDT 2005 /dump/am/2005/0519/home/am3/rsc/.bash_history 5156
May 17 23:32:31 EDT 2005 /dump/am/2005/0518/home/am3/rsc/.bash_history 5075
May 16 07:53:47 EDT 2005 /dump/am/2005/0517/home/am3/rsc/.bash_history 5065
look at that little timeline slay π₯
π the options, one by one π
-vβ enables verbose debugging printout π (yes she's chatty, that's the point)-dβ causesdiff(1) -cto be run for each adjacent pair of dump files π (so you can literally see what changed between versions, icon behavior fr)-bβ runsdiff -cbπ (the-bversion of the diff situation)-uβ causes times to be printed in GMT (UT) rather than local time π (for my UTC girlies)-sβ sets the starting (most recent) date for the output β° (aka where the story begins)
ngl the way-dand-bare literally described inside the prose and not in the synopsis? iconic of this era of man pages, no notes π
β¨ EXAMPLES β¨
wanna examine changes in block.c? say less:
hist -d block.c
π boom. diff city. π
β¨ FILES β¨
/dumpβ by convention, root of dump file system π³ (like, by convention, so don't come for me if yours lives somewhere else)
β¨ SOURCE β¨
/src/cmd/hist.c π
β¨ SEE ALSO β¨
(go read those too, they're the supporting cast π«Ά)
β¨ BUGS β¨
skdhfksj okay so β it should be called history, but that name is taken by sh(1) π so we're stuck with hist. tragic. unfair. we cope. π
and that's the whole page bestie β the General Commands Manual, hist(1), printed at the bottom like a little signature π
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms