LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   A book/Online reference for shell scripting (https://www.linuxquestions.org/questions/linux-general-1/a-book-online-reference-for-shell-scripting-417976/)

waelaltaqi 02-21-2006 09:08 AM

A book/Online reference for shell scripting
 
i need your help guys to find an online or a book beginers referenece for shell linux/unix scripting. i think that learning how to script is a big part of linux administration and i would like to lear how to do it properly.thansk a lot.

320mb 02-21-2006 09:48 AM

Advanced Bash-Scripting Guide

Bash Guide for Beginners

http://www.tldp.org/guides.html

-X- 02-21-2006 09:49 AM

Some things you might be interested in getting started.
http://www.gnu.org/software/bash/manual/bashref.html
http://www.dsl.org/cookbook/cookbook_toc.html

MensaWater 02-21-2006 09:55 AM

The main shell in Linux is bash so presumably you mainly want to learn bash shell scripting.

At its simplest scripting is just taking the lines you run at a command line and putting them into a file then adding the execute bit to the file with chmod. Of course for more complicated scripting you need more but just being able to do that will save you a lot of time.

Anyway doing a google for:
Quote:

Linux bash "scripting tutorial"
I got several hits the first of which was:
http://www.tldp.org/LDP/abs/html/

Going through a few of its sections it seems it may be a good tutorial. (Don't let the title of "Advanced" throw you off. It starts with Basics.)

rickh 02-21-2006 10:25 AM

http://www.linuxcommand.org/learning_the_shell.php

pixellany 02-21-2006 01:10 PM

You've already got all the free online links that I would have given.

Also consider an O'Reilly book called "Classic shell scripting"--or something like that. Will be in any decent-sized bookstore---or Amazon.

waelaltaqi 02-22-2006 10:58 PM

Thanks a lot ....
 
those links where really helpful , i read some of it and it looks for me that the idea is simple but the implementations and the posibilities are endless ... i guess that's something very important to work on .... need a lot of hours to get familiar with.... thanks a lot ...

cramer 02-24-2006 02:34 PM

http://linuxcommand.org/writing_shell_scripts.php

That one helped me out a lot, shows some purposes for writing the scripts and a step by step process of doing so. Keep working at it, it eventually clicks and then it is second nature.

crouse 03-08-2006 12:19 PM

http://www.bashscripts.org/docs/


All times are GMT -5. The time now is 03:18 AM.