pathchk
Check the validity and portability of one or more pathnames. More information: <https://www.gnu.org/software/coreutils/pathchk>.
Install
- All systems
-
curl cmd.cat/pathchk.sh
- Debian
-
apt-get install coreutils - Ubuntu
-
apt-get install coreutils -
Alpine
-
apk add coreutils - Arch Linux
-
pacman -S coreutils - Kali Linux
-
apt-get install coreutils - CentOS
-
yum install coreutils - Fedora
-
dnf install coreutils - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install coreutils - OS X
-
brew install coreutils - Raspbian
-
apt-get install coreutils - Docker
-
docker run cmd.cat/pathchk pathchkpowered by Commando
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 …
© tl;dr; authors and contributors