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!
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.
Distribution: Lots of distros in the past, now Linux Mint
You'll find these types of things (system configuration information) in /etc. It's been a while since I used RH, but if I'm not mistaken, they use rc.d, rc.0, rc.1, and so on for specific runlevel defaults. (Runlevels are pretty simple. 0 is shutdown, 6 is reboot, 3 is usually command line, 1 is something like a super safe (no gui, no network) mode, and 5 is GUI.) rc.d is usually defaults for all runlevels.
So, just change to the /etc directory, and then to the appropriate directory (rc.d, rc.5, or similar for a basic system), and look through those files. They are all pretty basic script files, and you can use the man pages to understand them better. Also, there might be some in your home directory, as "." files. (' ls -d .* ' will list them for you.)
i guess you could look at a bash script as being equivalent to a dos batch file. but the files inside the rc.0, rc.1, rc.2, etc... are shortcuts to the shellscripts in /etc/rc.d/init.d - but when linux boots, it uses the ones in rc.X (where X is the number equivalent to your run level) to control the order of which scripts are run. if you want to add a process to start up during boot, redhat provides a generic script that's run last during the boot process called /etc/rc.d/rc.local - that's probably where you want to add a process to the boot start up. btw, what's up red. long time no talk.
edit: oh yeah, add the distros you're using in your profile. it'll help when you forget to tell us what distro you're using in your posts.