Can’t execute binary file – linux

terminal

The Problem

Executing binary file in terminal fails returning “Can’t execute binary file”.

Fix

In terminal enter “chmod +x [filename]”

Why

chmod +x adds the permission for the user to execute the binary file.

—————–

References

chmod. Wikipedia. URL:http://en.wikipedia.org/wiki/Chmod. Accessed: 2009-04-10. (Archived by WebCite® at http://www.webcitation.org/5fvIhQ3Zg)