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.
A script can be something as simple as a command put in a script.
e.g. Say you type "ls -l" from command line to get a long listing. However, being lazy you'd rather type a single letter (e.g. "l").
Just "vi l" and add the line "ls -l" to it. Write and save. Make the file "l" executable with the chmod command.
The above is actually not a great example because it would be simpler to use bash's alias feature to do that but it gives you the idea.
If you're the book learning type, this is the one I originally learned with:
Unix Shell Programming (3rd Edition) (Paperback)
by Stephen Kochan, Patrick Wood
But, of course, I learned with 2nd Edition.
If you have a couple more specifics about distro, available/required scripting languages, etc. It might be a little easier to point you in a good direction. Shell scripting can be a lot of things and can be really complex, or very easy (as jlightner mentioned), depending on the task.
Edit: I've heard the O'Reily book, "Shell Scripting" by Arnold Robbins and Nelson H.F. Beebe, is also good.