pathchk
Check the validity and portability of one or more pathnames. More information: https://www.gnu.org/software/coreutils/pathchk.
-
Check pathnames for validity in the current system:
pathchk {{path1 path2 …}}
-
Check pathnames for validity on a wider range of POSIX compliant systems:
pathchk -p {{path1 path2 …}}
-
Check pathnames for validity on all POSIX compliant systems:
pathchk --portability {{path1 path2 …}}
-
Only check for empty pathnames or leading dashes (-):
pathchk -P {{path1 path2 …}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.