Table of Contents

# PATHCHK(1L) manual page

## Name

pathchk - check whether pathnames are valid or portable

## Synopsis

pathchk [-p] [--portability] [--help] [--version] path...

## Description

This manual page documents the GNU version of pathchk. For each path, pathchk prints a message if any of these conditions are false:
· all existing directories in path have search (execute) permission
· the length of path <= its filesystem's maximum path length
· the length of each existing directory in path <= its filesystem's maximum file name legnth

The exit status is:

    0 if all path names passed all of the tests,

     1 otherwise.

### Options

--help
  Print a usage message on standard output and exit successfully.
-p, --portability
  Instead of performing length checks on the underlying filesystem, test the length of the pathname and its components against the POSIX.1 minimum limits for portability. Also check that the pathname contains no characters not in the portable filename character set.
--version
  Print version information on standard output then exit successfully.

Table of Contents

- Name
- Synopsis
- Description

- Options