PATHCHK(1) General Commands Manual PATHCHK(1)

# [NAME](#NAME)

pathchk - Check whether file names are valid or portable

# [SYNOPSIS](#SYNOPSIS)

**pathchk** \[OPTION]... NAME...

# [DESCRIPTION](#DESCRIPTION)

Check whether file names are valid or portable

# [OPTIONS](#OPTIONS)

[**-p**](#p)

check for most POSIX systems

[**-P**](#P)

check for empty names and leading "-"

[**--portability**](#portability)

check for all POSIX systems (equivalent to -p -P)

[**-h**, **--help**](#h)

Print help

[**-V**, **--version**](#V)

Print version

# [VERSION](#VERSION)

v(uutils coreutils) 0.12.0

2026-09-30

---

Document: pathchk(1) from uutils 0.12.0-r1 (Chainguard OS)
Source: https://github.com/uutils/coreutils
