February 26, 2010

How does one open a bin or exe file?

On Unix-like systems there is no clear extension for executable binary files,...

On Unix-like systems there is no clear extension for executable binary files, the system uses the header of the file contents to figure out the type.

You will find binary executables with no extension, .bin or .run. To run these files you first need to confirm that the files has executable writes by following Kunai's post, then execute by continuing to follow his directions.

In the case of .exe files, those are windows based executables, they are made for another type of system and cannot be run natively on Linux and other unix-based systems, you will need to use an emulator like wine, cedega or crossover office to install and launch those applications

Like  (3 likes)

For bin file:First make it executable:$ chmod +x file.binThen execute it as...

For bin file:
First make it executable:
$ chmod +x file.bin
Then execute it as follows:
$ ./file.bin

For exe files you can use wine.

Like  (3 likes)

This is a tricky question to answer. Assuming that the .bin file is an...

This is a tricky question to answer. Assuming that the .bin file is an executable file in Linux (e.g. a shell script or an ELF binary) then the earlier mentioned solution works (setting the executable bit on the file). A good way to know for sure is to use the "file" command (example: "file thing_I_downloaded.bin"). That should at least tell you if it's just binary data (i.e. not an executable) or otherwise.

For .exe files, you will want / need either a windows emulator (wine is popular / free) or perhaps a dos emulatr (dosemu).

Good luck.

Like  (1 like)

Try this website. http://www.cyberciti.biz/faq/howto-unix-command-run-execute...

Try this website. http://www.cyberciti.biz/faq/howto-unix-command-run-execute-bin-files-in...

All you have to do is cd in the folder the bin file is in. Then type ./filename.bin and the file should now run.

Like  (0 likes)
Click Here!