mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 23:46:00 +02:00
pathchk: add page.
This commit is contained in:
parent
6c9c8b9be9
commit
daea9f5e69
1 changed files with 19 additions and 0 deletions
19
pages/linux/pathchk.md
Normal file
19
pages/linux/pathchk.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# pathchk
|
||||
|
||||
> Check the validity and portability of one or more pathnames.
|
||||
|
||||
- Check pathames 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 …}}`
|
Loading…
Add table
Reference in a new issue