PATHCHK(1)

โœจ pathchk(1) โ€” User Commands, bestie edition โœจ

okay so this is pathchk from the User Commands girlies, and no cap, it's the little tool that checks your file names before they embarrass you in front of a whole other operating system ๐Ÿ’…


๐ŸŒธ NAME ๐ŸŒธ

pathchk โ€” check whether file names are valid or portable ๐Ÿฆ‹


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

pathchk [OPTION]... NAME...

๐Ÿ’– DESCRIPTION ๐Ÿ’–

Diagnose invalid or non-portable file names. It's giving "vibe check, but for filenames" โœจ

  • -p โ€” check for most POSIX systems ๐Ÿซถ
  • -P โ€” check for empty names and leading - ๐Ÿ˜ญ
  • --portability โ€” check for all POSIX systems (equivalent to -p -P) ๐Ÿ‘‘
  • --help โ€” display this help and exit ๐ŸŒˆ
  • --version โ€” output version information and exit โญ
not me running pathchk on a filename with a leading -... that's the whole point of -P, bestie, use it ๐ŸŽ€

๐Ÿ’œ AUTHOR ๐Ÿ’œ

Written by Paul Eggert, David MacKenzie, and Jim Meyering. iconic trio, periodt ๐Ÿ‘‘


๐Ÿ› REPORTING BUGS ๐Ÿ›


Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. ๐Ÿ˜ญ (fr fr, no warranty, read it and weep)


๐Ÿ‘€ SEE ALSO ๐Ÿ‘€


okay that's the whole page, you ate that ๐Ÿ“ this was GNU coreutils 9.12, dated September 2026 โ€” pathchk(1), signing off, ily, go check ur filenames ๐Ÿ’–โœจ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from