These scripts are generally intended to be run from the project top-level directory, like this: ./scripts/foo.sh Check C code ------------ checkpatch.pl is copied from the linux kernel tree: https://github.com/torvalds/linux/blob/master/scripts/checkpatch.pl Use checkpatch-wrapper.sh to check files, for example: ./scripts/checkpatch-wrapper.sh *.c Check shell scripts ------------------- checkbashisms.pl is copied from: http://ftp.debian.org/debian/pool/main/d/devscripts/ Example usage: find . -name "*.sh" | xargs ./scripts/checkbashisms.pl --force