I have the Orielly's "Learning bash". I also refer to Advanced Bash-Scripting Guide(tldp.org/LDP/abs ).

Any other good books on the subject ?

link|improve this question

72% accept rate
Duplicate: serverfault.com/questions/92180/… – Dennis Williamson Jan 24 '10 at 6:00
1  
wow, if those two resources don't answer your shell scripting question, I'm not sure I even want to know what you're trying to do – Greeblesnort Jan 26 '10 at 19:21
feedback

4 Answers

up vote 2 down vote accepted

Learning the Bash Shell along with Classic Shell Scripting, followed by Bash Cookbook.

I would suggest charging through the first two books, without worrying too much about remembering it all. Reference them as you want to do something that you remember reading about but don't recall how to actually do. And come back to them a few a months later and learn new things from them.

Note, this is coming from the perspective of a linux admin, so I lean toward the niceties of bash over the more pure sh. It is only the rare script that I bother to actually make sh compatible. Also, I don't consider tcsh to be a legitimate scripting language.

link|improve this answer
feedback

Not a book, but a must have.

Keep BashPitfalls under your pillow because it'll teach you how you should NOT code in bash.

link|improve this answer
feedback

When you say "shell scripting" it appears you mean bash scripting?

If you mean "shell" are you worried about writing portable shell code?

link|improve this answer
This isn't an answer; you should have put your questions in the comments. – gareth_bowles Jan 26 '10 at 19:55
I don' think I can apply comments yet? – Derek Schrock Jan 28 '10 at 14:49
feedback

I prefer "The Korn Shell" book by Anatole Olozak. Korn shell and Posix shell are almost identical. This is very handy for writing portable shell scripts. The books serves as both a good tutorial and long(er) term reference.

+1 to all the suggestions about BashPitfalls, and the various Shell Cookbooks.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.