Skip to the cargo

hk util check-executables-have-shebangs ​

  • How to hail it: hk util check-executables-have-shebangs <FILES>…
  • Effect: read-only (looks, never touches)

Checks that executable files have shebangs: any file marked to run must fly its colours.

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 an executable script flies its shebang.

sh
hk util check-executables-have-shebangs 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