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.
Ok I’m an old school DOS guy. Could some one help me translate how to do the following.
Write a batch file. - I think this is called a script?
Edit startup options like in good old autoexec.bat and config.sys – I’ve compiled my own kernel before – I’m still not real sure about module loading.
I’ve read more than one HowTo on module loading and they were rather confusing. There seemed to be more than one way to do this. Which is the old and what is the new? Right now I have to type in a very long sting in order to get my sound card to work on my old laptop. It would be nice to have it load at startup. Or at very least be able to write a batch, excuse me, script to do this.
I’m sure there are other things but for now that’s it.
Last edited by avadondragon; 10-08-2007 at 02:58 PM.
1) Yep, batch file sorta equals script. Not exactly though. Batch file is to shell script as Pinto is to Camaro.
2) There are indeed two ways to load modules. I'm not sure if there is a chronological relationship between the two, but one way is often seen as 'safer'. The first is to use 'insmod module_name' to load a module and 'rmmod module_name' to unload it. The "safer" way is to use "modprobe module_name" to load a module and "modprobe -r module_name" to unload it. The difference? modprobe checks module dependencies - if you want to load module A, and A requires module B, then "modprobe A" will also load B whereas "insmod A" will not.
3) If you want to write a script to load the module at startup you need to put script in /etc/rc.d and then create a symlink to it in /etc/rc.3 and /etc/rc.5
Oops, It seems Slack is a bit different in this regard. It would be /etc/rc.3 and /etc/rc.4 - they use runlevel 4 as the graphical level, not 5. If that sounds like gibberish, don't worry. Runlevels are kinda like "modes" that you can run your computer in. 3 is text-mode and 4 is graphical mode.
By the way, what part of South Carolina are you from (of course, that is if you don't mind saying over the net). Home for me is just outside Columbia in a town called Lexington, but I'm away at college in Charleston.
But perhaps not by as much as we think -- in the early to mid '50's MIT's Univac had a TV screen that I saw used to play Tic-Tac-Toe w/ visitors. What I'm not sure about was how it was driven & controlled.