Difficulty executing a binary file
I've done this before successfully, but don't quite understand why I'm having difficulty now.
I have a binary file I want to run under Linux. As with every other binary file, I try to execute it with 'sh' but I get an error message... 'cannot execute binary file' Anyone have any suggestions? I see the file listed as an executable, but somethings just not right. The binary file I download, which installs the program, ran perfectly fine. Any ideas? :confused: |
Sh interprets shell scripts. They are not binary files, they are an interpreted scripting language.
To run binary files use: ./<name> Without the <> No space before. |
I appreciate the response. Thanks. That should have dawned on me.
|
All times are GMT -5. The time now is 01:36 PM. |