Name

pathchk

Synopsis

pathchk [options] filenames

Determine validity and portability of filenames. Specifically, determine if all directories within the path are searchable and if the length of the filenames is acceptable.

Options

--help

Print a help message and then exit.

-p

Check for most POSIX systems.

-P

Check for empty names and names that start with -.

--portability

Check portability for all POSIX systems. Equivalent to -p -P.

--version

Print version information and then exit.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.