FN(1)

πŸ“¦ version 0.3, in arch rolling, nixos 26.05, nixpkgs unstable

πŸ’… 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 fn utility exits 0 on success βœ…
  • and >0 if 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