OS Manuals

/usr/bin/pathchk

GNU core utilities

From coreutils 9.12-r7 (os), captured 2026-11-05 by running pathchk --help (exit 0). permalink

Also provided by 1 other package version
Usage: /usr/bin/pathchk [OPTION]... NAME...
Diagnose invalid or non-portable file names.

  -p     check for most POSIX systems
  -P     check for empty names and leading "-"
      --portability
         check for all POSIX systems (equivalent to -p -P)
      --help
         display this help and exit
      --version
         output version information and exit

Report bugs to: <bug-coreutils@gnu.org>.
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>
Full documentation <https://www.gnu.org/software/coreutils/pathchk>
or available locally via: info '(coreutils) pathchk invocation'
Options (5)
OptionDescriptionSource
-pcheck for most POSIX systemshelp + man
-Pcheck for empty names and leading "-"help + man
--portabilitycheck for all POSIX systems (equivalent to -p -P)help + man
--helpdisplay this help and exithelp + man
--versionoutput version information and exithelp + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.