PDA

View Full Version : Recommend a book/resource to learn bash



scbingham
June 19th, 2013, 07:35 AM
Hello All

I've done some shell scripting (20+ years ago) and fancy relearning it again. I was a bit disappointed that my local library has no books on the subject at all, even though I live in a large university town in the UK (Reading). I didn't even find a book shop either!

So I was wondering what books or maybe on line resources you, the community, would recommend.

Thanking you all in advance for your advice.

leg
June 19th, 2013, 08:14 AM
Try the bash beginners (http://www.tldp.org/LDP/Bash-Beginners-Guide/html/) guide first I seem to remember that it was quite useful but it has been a while since I used it. There is also the community page (https://help.ubuntu.com/community/CommandLineResources) for command line resources which will focus more specifically on Ubuntu. If you really want a book there is Working at the Ubuntu Command Line (http://www.amazon.co.uk/dp/B004RYVI0Q) which is also Ubuntu specific.

Enjoy.

Lars Noodén
June 19th, 2013, 08:26 AM
I'd also recommend at least skimming the following as you progress with other material:


http://mywiki.wooledge.org/FullBashGuide
http://mywiki.wooledge.org/BashFAQ
http://mywiki.wooledge.org/BashPitfalls


Though the Full Bash Guide is a good place to start in itself.

ssam
June 19th, 2013, 09:31 AM
This is an important read if you are doing anything serious with scripts.
http://www.davidpashley.com/articles/writing-robust-shell-scripts.html

cprofitt
June 19th, 2013, 01:01 PM
I have read the following books and found them to be good:

The Linux Command Line: A Complete Introduction
Paperback: 480 pages
Publisher: No Starch Press; 1 edition (January 14, 2012)
Language: English
ISBN-10: 1593273894
ISBN-13: 978-1593273897

A Practical Guide to Linux Commands, Editors, and Shell Programming
Paperback: 1200 pages
Publisher: Prentice Hall; 3 edition (September 24, 2012)
Language: English
ISBN-10: 013308504X
ISBN-13: 978-0133085044

UNIX and Linux System Administration Handbook
Paperback: 1344 pages
Publisher: Prentice Hall; 4th edition (July 24, 2010)
Language: English
ISBN-10: 0131480057
ISBN-13: 978-0131480056

scbingham
June 19th, 2013, 03:18 PM
Excellent! Thank you all. There's plenty here to keep me busy for a while :D

BlinkinCat
June 20th, 2013, 03:43 AM
Excellent! Thank you all. There's plenty here to keep me busy for a while :D

Hi,

There are quite a few bash links on the Links Page in NewDocs (See link in my signature)

You probably already have some of those but there may be something new.

Cheers - :)

neruson
June 20th, 2013, 07:15 AM
A Practical Guide to Linux Commands, Editors, and Shell Programming
Paperback: 1200 pages
Publisher: Prentice Hall; 3 edition (September 24, 2012)
Language: English
ISBN-10: 013308504X
ISBN-13: 978-0133085044


+1. I have the Kindle edition of that book. It's a good one for beginners :)