LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-23-2003, 03:57 AM   #1
lomaree
Member
 
Registered: May 2003
Location: Qatar
Distribution: Suse
Posts: 60

Rep: Reputation: 15
can't run file .bin, please help


Hi

i am trying to install counter-stirke in linux. but i can't do anything with it... cuz at the whenever i tries to use chmod +x "filename" it say file not found. when i use ls the file is there, but there is one small problem i have noticed, don't know weather it's aproblem or not but there seems to be a .* mark at the of the file name ".bin*" . what is this
 
Old 05-23-2003, 04:04 AM   #2
log
Member
 
Registered: Dec 2002
Location: South Australia
Distribution: Gentoo
Posts: 113

Rep: Reputation: 15
you cant have a file with a * in the filename.

when you use chmod +x "filename", you dont need the quotation marks.
 
Old 05-23-2003, 04:07 AM   #3
lomaree
Member
 
Registered: May 2003
Location: Qatar
Distribution: Suse
Posts: 60

Original Poster
Rep: Reputation: 15
there is this file "hlds_I_3111_full.bin*" when i type ls command to list my files in a dir...
what does it means.. i don't understand
 
Old 05-23-2003, 04:10 AM   #4
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
the asterisk means that its an exectuable file. Stop trying to put executable permissions on it. You may notice that the listing for that file is green. You can't have green files, its just a file. Colour means nothing to the computer. In the same way, the asterisk means nothing; its just a helpful character to inform you that its executable file.

And the correct usage of the command is,
Code:
chmod u+x filename
HTH

Alex

Last edited by webtoe; 05-23-2003 at 04:12 AM.
 
Old 05-23-2003, 04:12 AM   #5
lomaree
Member
 
Registered: May 2003
Location: Qatar
Distribution: Suse
Posts: 60

Original Poster
Rep: Reputation: 15
okay... can you also tell me the command to configur the x windows ... thanks in advance
 
Old 05-23-2003, 04:29 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
please use one thread per question, and also using the correct forums. the description for this forum says "New to LinuxQuestions.org? Been a long time member but never made a post? Introduce yourself here." ....
 
Old 05-23-2003, 04:32 AM   #7
lomaree
Member
 
Registered: May 2003
Location: Qatar
Distribution: Suse
Posts: 60

Original Poster
Rep: Reputation: 15
why does it say
chmod: failed to get attributes of 'hlds_I_3111_full': no such file or directory.


please help me
 
Old 05-23-2003, 04:54 AM   #8
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
Where did you download it to? its not sitting on a windows partition is it?

btw, was it a typo missing off the .bin at the end of the filename. That bit is needed.

post the output of
Code:
ls -l hlds_I_3111_full.bin
HTH

ALex
 
Old 05-23-2003, 05:39 AM   #9
lomaree
Member
 
Registered: May 2003
Location: Qatar
Distribution: Suse
Posts: 60

Original Poster
Rep: Reputation: 15
yeah that is a typo off .bin,

it says no such file or directory. it was on the windows partition. but i copied it on the linux one . what do i do now
 
Old 05-23-2003, 06:08 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
just type the first few characters of the name and then press tab to fill the rest of the details in.
 
Old 05-23-2003, 06:11 AM   #11
lomaree
Member
 
Registered: May 2003
Location: Qatar
Distribution: Suse
Posts: 60

Original Poster
Rep: Reputation: 15
i have done that, but the problem is , if i use

./ hlds_I_3111_full.bin

it says No Such file or directory
 
Old 05-23-2003, 06:14 AM   #12
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
what was the output of ls -l hlds_I_3111_full.bin ?

or is it saying file not found? if yes then how do you know the file exists? it is either non-existant or is in a different directory.

you'll have to use the find command (I still have not mastered it yet so either search the forum or www.google.co.uk/linux )

HTH

Alex
 
Old 05-23-2003, 06:18 AM   #13
lomaree
Member
 
Registered: May 2003
Location: Qatar
Distribution: Suse
Posts: 60

Original Poster
Rep: Reputation: 15
the output only shows the other files in the directory except the one i wrote.

what do i do now
 
Old 05-23-2003, 06:20 AM   #14
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
was the space after / a typo? if not you should type:

./hlds_I_3111_full.bin

also check that the filename has no capitals - you will need to type it exactly as it is shown in your dir.
 
Old 05-23-2003, 06:26 AM   #15
lomaree
Member
 
Registered: May 2003
Location: Qatar
Distribution: Suse
Posts: 60

Original Poster
Rep: Reputation: 15
that was a typo..

if i try that it's saying cannot execute binary file
 
  


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 04:00 AM
Java, I have downloaded the .bin file and run it ... now what ? TroelsSmit Linux - Newbie 3 03-02-2004 11:48 AM
How to run a .bin file? gschrade Linux - Newbie 3 11-11-2003 12:15 AM
How do you run a .BIN file? M4A1Carbine Linux - Newbie 3 10-22-2003 06:50 PM
Autorun.sh script to mount CD and run .bin file kulkarni08 Linux - General 2 06-24-2003 02:01 PM


All times are GMT -5. The time now is 12:31 AM.

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