IsExecutable

Details
This page shows version 017. The current version can be found here.

Returns 0 (success) if the file looks like a Linux executable (starting with a hash-bang magic or an ELF header), or 1 (failure) otherwise.

This helper is used by the FixAttributes script.