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.
Wow, so many answers. I use shell scripts to make tasks easier. There is a monster amount of CLI apps available for linux so you can do almost anything you want, example, rather than have to open a FTP client, find directories etc and upload a file to my site, I have a small shell script with my password encrypted in a file and it uses a CLI ftp app to upload a file I specify.
Random example but you can write scripts to make complicated tasks one-liners.
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Originally Posted by gregorian
Dos batch programming is not of much use unless you are the kind of guy who loves writing batch viruses.
This makes as much sense as saying "Microsoft office is not of much use unless you are the kind of guy who loves to write macro viruses" or even "a hammer is not of much use unless you are the kind of guy who loves to hit his fingers hard". Batch programming is very usefull, in dos, winxp shell or linux to automate repetitive tasks, fire automatic actions upon login or startup, make simple installers, write simple programs....
Originally Posted by gregorian
I heard Shell programming is the Unix equivalent of Batch for Windows.
I want to know its capabilities and its use and its essentialness(if such a word exists) for a Linux Users.
I googled for Shell programming but only found lists of Unix commands.Any help will be appreciated.
Well, shell scripting is most usefull when you want to automate a particular sequence of commands you would otherwise have to type one by one on the prompt.As an example a lot of your Linux box startup is performed with shell scripts, i.e. loading of modules mounting of filesystems, starting of processes, etc. Shell scripting is also used in some programming environments to assign specific environment variables which are then used as a reference by compiling or running a program. And these are only some of the possible appliances of scripting.
As satinet mentioned above, it is very important to understand and to be able to write shell scripts if you want to learn the depths of Linux.
So I advise you to take a look at the manuals on www.tldp.org