1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00
tldr/pages/common/pathchk.md
Vitor Henrique 55a49c4ba1
pages*: remove "one or more" from description when superfluous (#12121)
* pages*: remove "one or more" from description when superfluous

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-25 10:58:11 +05:30

529 B

pathchk

Check the validity and portability of 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 …}}