FN(1)
π FN(1) β bestie's fave little timestamp gremlin πβ¨
okay so real quick, this is a page from the General Commands Manual for a tool called fn, and honestly? she's small, she's focused, she's iconic. let's get into it π«Ά
β¨ NAME β¨
fn β prints the newest timestamp in a directory, recursively π°οΈ
like, she goes digging through your whole folder tree and tells you the freshest mtime she finds. no cap.
πΈ SYNOPSIS πΈ
fn dir [...]
that's it. that's the whole vibe. you hand her one or more directories and off she goes π¦
π DESCRIPTION π
okay so here's the tea β:
fn recursively scans the directories you give her on the command line, and prints the UNIX timestamp (that's seconds since the UNIX epoch, iykyk) of the newest file she finds. literally the most recent one. the main character file π
and she is picky in a very specific way β fn ignores everything except ordinary files. in particular, that means directories and symlinks get skipped entirely. not her business, not her problem π
and bestie, listen β in case of errors, 0 is printed. so if something goes wrong, you get a zero. don't let it gaslight you into thinking that's a real timestamp, okay? π that's just what she does.
π SEE ALSO π
date(1)β go hang out with her if you want to actually format a timestamp into something a human can read π
β RETURN VALUES β
- the
fnutility exits0on success β - and
>0if an error occurs π
so: zero = slay, bigger than zero = something went sideways. periodt.
π AUTHORS π
Thomas Klausner <tk@giga.or.at> β thank her, she ate fr fr π
and that's the whole page, bestie! no notes, she's little but she knows exactly what she's doing. vibe check: passed π§ββοΈ
this lovely little man page comes from Debian, dated December 3, 2015 β vintage, honestly π
π¦ where this page comes from
- arch rolling: findnewest 0.3-4 Β· BSD
- nixos 26.05: findnewest 0.3
- nixpkgs unstable: findnewest 0.3
- Copyright (C) 2015 Thomas Klausner
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms