CmdID

CmdID / Commands

pathchk

Check the validity and portability of pathnames. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Check pathnames for validity in the current system

pathchk path1 path2 ...Identify

Check pathnames for validity on a wider range of POSIX compliant systems

pathchk -p path1 path2 ...Identify

Check pathnames for validity on all POSIX compliant systems

pathchk --portability path1 path2 ...Identify

Only check for empty pathnames or leading dashes (-)

pathchk -P path1 path2 ...Identify