Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

pathchk

v(uutils coreutils) 0.8.0
pathchk [OPTION]... NOM...

Vérifier si les noms de fichiers sont valides ou portables

Options

-p

vérifier pour la plupart des systèmes POSIX

-P

vérifier les noms vides et les “-” en début

--portability

vérifier pour tous les systèmes POSIX (équivalent à -p -P)

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

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 {{[-p -P|--portability]}} {{path1 path2 ...}}

Only check for empty pathnames or leading dashes (-):

pathchk -P {{path1 path2 ...}}

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.