Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 ?

share|improve this question
    
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

4 Answers 4

up vote 3 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.

share|improve this answer

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.

share|improve this answer

Not a book, but a must have.

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

share|improve this answer

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

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

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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