PDA

View Full Version : [ubuntu] Trying to run a .bin



MrPickle
May 5th, 2008, 09:21 PM
I am trying to install diablo but the file's in .bin format, I've read about and read I need to do:

chmod -x diablo2cd1.bin
diablo2cd1.bin

But when I run the later it says:
bash: diablo2cd1.bin: command not found

I read around and read to run ls -la, this is the output:
total 1756284
drwxr-xr-x 2 james james 4096 2008-05-04 23:53 .
drwxr-xr-x 3 james james 4096 2008-05-05 21:00 ..
-rwxr-xr-x 1 james james 585831456 2008-05-05 13:13 diablo2cd1.bin
-rw-r--r-- 1 james james 95 2008-05-05 00:01 diablo2cd1.cue
-rw-r--r-- 1 james james 701147664 2008-05-05 13:13 diablo2cd2.bin
-rw-r--r-- 1 james james 95 2008-05-05 00:18 diablo2cd2.cue
-rw-r--r-- 1 james james 509654880 2008-05-05 13:13 diablo2cd3.bin
-rw-r--r-- 1 james james 95 2008-05-05 11:56 diablo2cd3.cue

RATM_Owns
May 5th, 2008, 09:29 PM
I think it is chmod +x but meh.
In front of the file, add a ./
Like to run moo.x when you're in its directory, you'd type
./moo.x

MrPickle
May 6th, 2008, 12:34 AM
Thank you that has worked but now it's saying:
bash: ./diablo2cd1.bin: cannot execute binary file