Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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...
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.