LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i use the file from sourceforge. (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-use-the-file-from-sourceforge-173877/)

Valiant 04-23-2004 08:41 PM

How do i use the file from sourceforge.
 
Hi all, i am really new in Linux.....how do i use file downloaded from sourceforge. It seems like the file are in text format with codes and explaination. I am trying to use htbinit.

Please help. Thanks

trickykid 04-23-2004 09:44 PM

What exactly did you download and what project? What is the extension of the file if any? More details please.

|2ainman 04-23-2004 09:56 PM

http://www.linuxquestions.org/questi...threadid=45094

I think this'll cover it eh tricky? :cool:

slakmagik 04-24-2004 07:21 AM

Does it have
#!/bin/sh
or
#!/bin/bash
at the top or end in a '.sh' extension? Seems to just be a shell script and you'd run it like './name_of_script' (type that in at the console or an xterm) or dump it somewhere in your path and just run 'name_of_script'. For source code that was meant to be binary, you'd have to do the compile routine. Isn't there a README or isn't the script commented?

trickykid 04-24-2004 09:01 AM

Quote:

Originally posted by |2ainman
http://www.linuxquestions.org/questi...threadid=45094

I think this'll cover it eh tricky? :cool:

Haha.. maybe, once we find out what they actually downloaded. Could be a text file, could be a source file, could be even an image for all we know.. cause the member didn't provide details. ;)

Valiant 04-24-2004 01:36 PM

Sorry Guys, its my 4th day with linux so really blur with this(been usin window / Dos for the past 20yrs).

It seems like a text file with source code and comments on it stating wat it does and so on. htbinit is something that allow u to control the bandwidth for each port. eg. allocate 50kbps for port A and 100kbps for port B etc...etc...

trickykid 04-24-2004 02:02 PM

Quote:

Originally posted by Valiant
Sorry Guys, its my 4th day with linux so really blur with this(been usin window / Dos for the past 20yrs).

It seems like a text file with source code and comments on it stating wat it does and so on. htbinit is something that allow u to control the bandwidth for each port. eg. allocate 50kbps for port A and 100kbps for port B etc...etc...

I downloaded it and read some of the file, it appears to be a config script, or bash script. Have you read any of the documentation in the file, seems pretty straight forward in how to setup and use the script?

Valiant 04-24-2004 02:37 PM

Thanks trickykid, i am still not sure wat is a bash or config script but now lookin at forums to see wat its abt.....

Quote:

http://www.linuxquestions.org/quest...;threadid=45094
by extract it does it work from the start or do i still need to enter value from the source or once its install then i start configuring.....

This may sound stupid but once its install will configuration be graphic base that can be use from Xwindow or will it be command base like in DOS.

Thanks guys ur help is appreciated

trickykid 04-24-2004 06:42 PM

Quote:

Originally posted by Valiant
Thanks trickykid, i am still not sure wat is a bash or config script but now lookin at forums to see wat its abt.....



by extract it does it work from the start or do i still need to enter value from the source or once its install then i start configuring.....

This may sound stupid but once its install will configuration be graphic base that can be use from Xwindow or will it be command base like in DOS.

Thanks guys ur help is appreciated

Its a simple script, think of it as a Autoexect.bat file file in DOS. It runs commands or reads from the file to run commands, etc. Briefly looking over it, its not going to be graphical and you'll need to configure it to suit your needs. It looks like a slightly more complicated task than your regular bash script to get going, etc, I'd have to say since I've never used it and probably very rare as I've never seen any questions regarding this in the 3 years I've been here, any detailed questions might have to be asked to the developers of the project and file, so on..

But your more than welcome to keep asking here, someone might have a clue what's going on with that file.

Cheers.


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