Linux.com

Home Learn Linux Linux Answers Internet How does one open a bin or exe file?
Answers
  • Try this website. http://www.cyberciti.biz/faq/howto-unix-command-run-execute-bin-files-in-linux/


    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.

    Answered by ShaneH57
    5 years ago
    0 0
  • 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.

    Answered by gomer
    5 years ago
    0 2
  • 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.

    Answered by kunal
    5 years ago
    0 1
  • 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

    Answered by mfillpot
    4 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Internet

Upcoming Linux Foundation Courses

  1. LFD320 Linux Kernel Internals and Debugging
    10 Nov » 14 Nov - Virtual
    Details
  2. LFS426 Linux Performance Tuning
    10 Nov » 13 Nov - Virtual
    Details
  3. LFD312 Developing Applications For Linux
    17 Nov » 21 Nov - Virtual
    Details

View All Upcoming Courses

Community Answers - Search


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board