Home Learn Linux Linux Answers Internet How does one open a bin or exe file?
  • Try this website.

    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
    5 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. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
  2. LFD320 Linux Kernel Internals and Debugging
    08 Jun » 12 Jun - San Jose - CA + Virtual (GUARANTEED TO RUN)
  3. LFD411 Embedded Linux Development
    08 Jun » 12 Jun - North Reading, MA (GUARANTEED TO RUN)

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