pathchk
(1)check whether file names are valid or portable
Options
5-pcheck for most POSIX systems
-Pcheck for empty names and leading "-"
--portabilitycheck for all POSIX systems (equivalent to -p -P)
--helpdisplay this help and exit
--versionoutput version information and exit
DESCRIPTION
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
AUTHOR
REPORTING BUGS
GNU coreutils online help:
https://www.gnu.org/software/coreutils/
Report any translation bugs to
https://translationproject.org/team/
SEE ALSO
Full documentation
https://www.gnu.org/software/coreutils/pathchk
or available locally via: info '(coreutils) pathchk invocation'
Packaged by Debian (9.7-3)
Copyright © 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.