---
name: "fn"
section: "1"
platform: "linux"
package: "findnewest"
version: "0.3-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/fn"
---

# fn(1)

print newest timestamp in a directory, recursively

## NAME

**fn** – print newest timestamp in a directory, recursively

## SYNOPSIS

**fn** *dir* \[...\]

## DESCRIPTION

**fn** recursively scans the directories given on the command line and prints the UNIX timestamp (seconds since UNIX epoch) of the newest file found.

**fn** ignores everything except ordinary files (in particular, directories and symlinks).

In case of errors, 0 is printed.

## SEE ALSO

[date(1)](/date/1.md)

## RETURN VALUES

The **fn** utility exits 0 on success, and \>0 if an error occurs.

## AUTHORS

Thomas Klausner ⟨*tk@giga.or.at*⟩
