Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I want to start up my bandwidth monitoring programs (ntop and vnstat) on startup. I am running a server with FC2 in init mode 3 because the machine is old and I don't want to slow it down by running a GUI. Is there a way that I can do this? If so, do I just enter in the commands in a file like I would on the command line? Where does the output go? What user would run it?
Originally posted by luwigie A couple of questions:
So the user that it runs as is root?
Where does the output go? No where?
Do I just put in the commands on a line the same way I would at a command line, or do I have to seperate the commands more than just putting them on a seperate line?
For instance would:
vnstat -u -i eth0
be sufficient to run two commands?
yes it runs as root and you will have to be root to kill it
the out put gose where you tell it to go or there may be a default log file it would be best if you were to read the man pages for the commands you want to log there may also be other settings for a command to run noninteractively or you may want to run them as an at job