What is the autoexec.bat and config.sys equivalent of linux
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.
autoexec.bat was fine on a single user crap system, but the concept of what it does breaks down on a true multi-user system. what are you trying t achieve? services get started though links in /etc/rc5.d and there are LOADS f places for automatic scritps to run, each suited to a different scope. e.g. /etc/rc.local is run at the end of bootup. ~/.bashrc is run each time you personally log on etc...
well actually my real problem is that everytime I boot, the system checks my eth0 and displays [failed], then It crashes afterwards. so what i usually do is I press the "I" key during bootup and bypass the eth0 check.
I wanted to remove that part of the bootup so I don't have to press "I" everytime I go to linux
Distribution: Ubuntu, Debian, Various using VMWare
In Mandrake, there should be a section in the Control Centre that allows you to change the services at startup. I think the service that checks eth0 would be network or something. Have a look and see what you can find.
"chkconfig network off" (no quotes) should do the trick. The better way, though, is probably to disable the interface on boot. To do so in Red Hat/Fedora, go to /etc/sysconfig/network-scripts, find the eth0 script and set ONBOOT to no. I'm not sure if it's in the same place in Mandrake, but as MDK is RH based, it may be. It's been again since I've used Mandrake, though, sorry.
A google on this and for "linux boot process" ought to help. The system initialization is more complicated and much more customizable than what you're used to in Windows.