# pathchk(1)

## NAME

         pathchk - check pathname

## SYNOPSIS

         pathchk [-p] path ...

## OPTIONS

         -p   Check against POSIX rules

## EXAMPLES

         pathchk /usr/src/file.c
                             # Check the accessibility of file.c

         pathchk -p file     # Check posix compliance of file

## DESCRIPTION

         Pathchk verifies path names and display error  if  paths  are  too  long,
         contain  names  that  are too long, go thru a non-searchable directory or
         contain an invalid character in names. If the -p flag is  specified,  the
         POSIX rules apply instead of the rules of the current file system.