Skip to content

Instantly share code, notes, and snippets.

@Wohlstand
Created November 10, 2017 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wohlstand/b5d196f99346972f1e18780129600f54 to your computer and use it in GitHub Desktop.
Save Wohlstand/b5d196f99346972f1e18780129600f54 to your computer and use it in GitHub Desktop.
Mark all ELF files as executable
#!/bin/bash
find . -exec file {} \; | grep -i ELF | cut -d':' -f1 | while read line; do chmod a+x $line; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment