What is the equivalent of an “exe file”?

I don’t know what the exact executable file extension is. Is it .deb or .tar.gz? Answer Linux extension Windows Equivalent Short description .so, .o .dll Object that can be loaded at runtime (Similar to DLL) .a .lib Static library [none], .elf(rare), .exe, .com(rare) Linux executables .bin(rare) .sh .bat Shell script .exe .exe Mono application, Wine … Read more

What is the difference between ./ and sh to run a script?

I have written a simple script. When I runsh <myscriptname.sh>, i got the correct output, but when I run ./<myscriptname.sh>, I got an error. What is difference between when I do sh and ./? Answer When you run any script by passing the filename to the script interpreter program, you are running the interpreter program … Read more

bash: ./program: cannot execute binary file: Exec format error

I’m trying to run a program, but an error happens like this: bash: ./program: cannot execute binary file: Exec format error The result of file program was: program: ELF-32-bit LSB executable, ARM, EABI4 version 1 (SYSV), dynamically linked(uses share libs), for GNU/LINUX 2.6.16, not stripped How can I fix this error? I’m using Ubuntu 14.04.2 … Read more

No such file or directory? But the file exists!

I’ve downloaded a game (Shank) but the bin file doesn’t run. The error that is shown when I try to launch the executable is: bash: ./shank-linux-120720110-1-bin: No such file or directory Answer You’re probably trying to run a 32-bit binary on a 64-bit system that doesn’t have 32-bit support installed. There are three cases where … Read more