Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-21-2006, 10:08 AM   #1
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
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.
Old 02-21-2006, 10:48 AM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Advanced Bash-Scripting Guide

Bash Guide for Beginners
Old 02-21-2006, 10:49 AM   #3
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Some things you might be interested in getting started.
Old 02-21-2006, 10:55 AM   #4
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,053
Blog Entries: 14

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
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:
Linux bash "scripting tutorial"
I got several hits the first of which was:

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.)
Old 02-21-2006, 11:25 AM   #5
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Old 02-21-2006, 02:10 PM   #6
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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.
Old 02-22-2006, 11:58 PM   #7
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Original Poster
Rep: Reputation: 31
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 ...
Old 02-24-2006, 03:34 PM   #8
Registered: Feb 2006
Distribution: Red Hat 9
Posts: 112

Rep: Reputation: 15

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.
Old 03-08-2006, 01:19 PM   #9
LQ Newbie
Registered: May 2005
Location: USA
Posts: 19

Rep: Reputation: 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shell scripting book? newbie9500 Linux - Newbie 3 10-24-2005 01:14 AM
Good Reference Book? LinuxConvert-06/05 Linux - Newbie 4 07-02-2005 11:19 PM
Best linux reference book? flamesrock Linux - Software 2 03-13-2004 05:58 PM
looking for good reference book for QT Tafta Programming 1 12-05-2003 05:55 PM
Is there a good reference book? koyi Linux - Newbie 9 07-31-2003 11:06 PM > Forums > Linux Forums > Linux - General

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration