LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-23-2004, 08:41 PM   #1
Valiant
LQ Newbie
 
Registered: Apr 2004
Location: Singapore
Posts: 7

Rep: Reputation: 0
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
 
Old 04-23-2004, 09:44 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
What exactly did you download and what project? What is the extension of the file if any? More details please.
 
Old 04-23-2004, 09:56 PM   #3
|2ainman
Member
 
Registered: Mar 2004
Distribution: Slackware current, DSL 0.9.2
Posts: 133

Rep: Reputation: 15
http://www.linuxquestions.org/questi...threadid=45094

I think this'll cover it eh tricky?
 
Old 04-24-2004, 07:21 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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?
 
Old 04-24-2004, 09:01 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

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

I think this'll cover it eh tricky?
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.
 
Old 04-24-2004, 01:36 PM   #6
Valiant
LQ Newbie
 
Registered: Apr 2004
Location: Singapore
Posts: 7

Original Poster
Rep: Reputation: 0
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...
 
Old 04-24-2004, 02:02 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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?
 
Old 04-24-2004, 02:37 PM   #8
Valiant
LQ Newbie
 
Registered: Apr 2004
Location: Singapore
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 04-24-2004, 06:42 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
  


Reply



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
SourceForge Like Scripts procyon Linux - Newbie 2 10-23-2005 07:27 PM
wget and sourceforge datadriven Programming 1 06-27-2005 08:32 PM
sourceforge oldstinkyfish Linux - Software 2 12-24-2004 11:30 PM
Sourceforge acjt Programming 0 06-17-2003 04:36 PM
Sourceforge & others ThomasAJohnson General 14 09-03-2002 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration