How do I run (execute) a .bin file in Linux (Ubuntu) ?

Posted by Paula DiTallo on Geeks with Blogs See other posts from Geeks with Blogs or by Paula DiTallo
Published on Fri, 11 Nov 2011 01:31:10 GMT Indexed on 2011/11/11 17:54 UTC
Read the original article Hit count: 343

Filed under:

If you are on a desktop version of Ubuntu, you can right-click on the file icon, click the permissions tab and click on "allow execution". If you are on a server copy without the desktop bells and whistles (or you would rather work with a command line in a terminal window), then do the following:

sudo chmod +x myProgram.bin

after you enter your password and get the prompt back type:

./myProgram.bin

 

© Geeks with Blogs or respective owner