LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do you work with a .bin file? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-work-with-a-bin-file-133481/)

ferretmanus 01-10-2004 04:10 PM

how do you work with a .bin file?
 
i am setting up a cs server on linux, and i have all the files i need. i just dont know how to uncompress a .bin file. how do i make this work? im running rh 9. thank you

itsme86 01-10-2004 04:37 PM

Usually .bin files are directly executable (i.e. they're not compressed). Just 'chmod +x filename.bin' to make it executable and then type the filename to run it. You might have to do ./filename.bin if . isn't in your path.

ferretmanus 01-10-2004 04:50 PM

this is what i get as a response when i type this
chmod +x hlds_1_3111_full.bin
chmod: fialed to get attributes of " hlds.....bin" : no such file or directory
to make sure the file was there i even did a ls and it was there. so i have no clue whats going on. any clue? please help. thank you

TheOneAndOnlySM 01-10-2004 05:36 PM

check the permissions of that file with ls -l

if it set for only root write and execute, u can either logon as root and do chmod or just change the permissions of the file chmod 777 hld.... and then do ./hdl...

also, to ensure you don't misspell the filename, type the first few letters of the file and then press TAB to use the autocomplete feature

chrisk5527 01-10-2004 05:41 PM

You could try "chmod 755 hlds_1_3111_full.bin". If your using a shell that allows tabbed auto completion then just type the first couple characters of the filename and then ./hlds_1_3111_full.bin after you made the file executable.

ferretmanus 01-10-2004 06:01 PM

well, i got it to be executable, and now i get this new error. it goes through the readme, says do you wish to install? yes or no? blah blah blah. i type yes, then it says this:

extracting /usr/steam/hlds_1_1120_full.tgz...
hlds_1_3111_full.bin: error extracting payload, no such file or directory

anyone know whats going on here? maybe i have to re-download it. but its giving me that its there, and that its executable, and that its the full file size. should i just re-download it? thank you

ferretmanus 01-10-2004 08:02 PM

ah, figured it out. i had to make the directory /usr/steam and then it moved itself into the right place. thank you all for you help. laters

ivanation 02-13-2004 01:56 PM

NICE
 
Thank you for pointing that out... I've been experiencing the same problem and thought it was hopeless until I read your post.

Thanks again.


All times are GMT -5. The time now is 10:13 AM.