Skip to the cargo

hk util check-shebang-scripts-are-executable ​

  • How to hail it: hk util check-shebang-scripts-are-executable <FILES>…
  • Effect: read-only (looks, never touches)

Checks that files with shebangs are executable: a file that flies its colours had best be ready to run.

Cargo it takes ​

  • <FILES>… — The files to check

Flags to fly ​

  • -h --help — Print help, for when ye've lost yer bearings

Tales from the deck ​

Check that a script flying a shebang is executable.

sh
hk util check-shebang-scripts-are-executable scripts/check.sh

Further charts ​

Built-in linters and utilities: the standing crew · Troubleshooting: the ship's log · All the bosun's calls

MIT LicenseCopyright © 2026jdx.dev