From daea9f5e6923dd0735200aec6011d0302e77a505 Mon Sep 17 00:00:00 2001 From: Marco Bonelli Date: Thu, 31 Jan 2019 16:03:03 +0100 Subject: [PATCH] pathchk: add page. --- pages/linux/pathchk.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/pathchk.md diff --git a/pages/linux/pathchk.md b/pages/linux/pathchk.md new file mode 100644 index 0000000000..5ce0067ca5 --- /dev/null +++ b/pages/linux/pathchk.md @@ -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 …}}`