It is necessary to check if this file is a shell script, and if it is a shell script, it can be executed in the form of "sh ***.run". If itself is an executable command program, do not need to use SH, directly plus execute permissions, execute this application can (similar to Windows. EXE file) if it is not a shell script1. The file file name can be viewed in the files type; 2. Or: more filename to see if the contents of the file are readable text 3. Modify permissions chmod 777 file name or: chmod a+x file name if you do not have permission, you need the file owner or administrator user (root) to perform 4. Take note of the program path if the program is in the current directory, you can use the./File name form
The problem of cannot execute binary file encountered under Linux system is generally caused by the following conditions:
1. Non-root user or no Execute permission 2. The compilation environment is different (the program is copied from the other operating environment) for the first case, you can chmod +x program with the additional execution permission. For the second case, it is recommended to copy the binary package and recompile the program. 3. Hardware platform and software inconsistent, such as: 32-bit system, downloaded a 64-bit software, the results can not be executed if the result of using the file command check is data, not the executable file, then this file cannot be run directly on this system platform
Linux running run file shows cannot execute binary files