Command: pathchk - check pathname Syntax: pathchk [-p] path ... Flags: -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 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.