LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-22-2003, 05:27 PM   #1
M4A1Carbine
LQ Newbie
 
Registered: Aug 2003
Location: Behind You
Distribution: Gentoo 2004.2
Posts: 13

Rep: Reputation: 0
How do you run a .BIN file?


I've searched the web for the answer and have tried this chmod a+x *.bin and .BIN but nothing has seemed to work. When I try to run it it says bash: ./macmsgs.bin: cannot execute binary file
How do I get it to run properly?
 
Old 10-22-2003, 05:29 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
try:

sh ./filename.bin

or

sh filename.bin
 
Old 10-22-2003, 05:49 PM   #3
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
The .bin extension doesn't always indicate a Linux binary executable. In your case, it looks like you've got a MacIntosh file compressed in MacBinary format.

 
Old 10-22-2003, 05:50 PM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by DMR
The .bin extension doesn't always indicate a Linux binary executable. In your case, it looks like you've got a MacIntosh file compressed in MacBinary format.

edit: nevermind. my bad.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chroot: cannot run command `/tools/bin/env': No such file or directory Basel Linux From Scratch 5 06-30-2006 03:00 AM
Java, I have downloaded the .bin file and run it ... now what ? TroelsSmit Linux - Newbie 3 03-02-2004 10:48 AM
How to run a .bin file? gschrade Linux - Newbie 3 11-10-2003 11:15 PM
Autorun.sh script to mount CD and run .bin file kulkarni08 Linux - General 2 06-24-2003 01:01 PM
can't run file .bin, please help lomaree Linux - Software 24 05-29-2003 05:26 PM


All times are GMT -5. The time now is 03:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration