File Size: 1205 KB
Print Length: 560 pages
Simultaneous Device Usage: Unlimited
Publisher: O'Reilly Media; 1 edition (May 16, 2005)
Publication Date: December 17, 2008
Sold by: Digital Services LLC
Language: English
ASIN: B0043GXMPW
Text-to-Speech: Enabled
X-Ray: Not Enabled
Word Wise: Not Enabled
Lending: Not Enabled
Enhanced Typesetting: Not Enabled
Best Sellers Rank: #255,907 Paid in Kindle Store (See Top 100 Paid in Kindle Store) #17 in Books > Computers & Technology > Operating Systems > Unix > Shell #33 in Books > Computers & Technology > Software > Utilities #63 in Kindle Store > Kindle eBooks > Computers & Technology > Operating Systems > Unix
Classic Shell ScriptingHidden Commands that Unlock the Power of UnixBy Arnold Robbins, Nelson H.F. BeebeFirst Edition May 2005ISBN: 0-596-00595-4558 pages, $34.95[...] I found this to be quite a useful book for learning more about Unix/Linux shell scripting. I would consider this one to be an intermediate level text, and complete beginners might be better served by a more simplified book. There are quite a bit of in-depth details included, and many very nice examples and code snippets. Like all O'Reilly books, it is well organized and formatted, and clearly written. The book opens with a brief history of Unix and how important the shell (and scripting) is to it. There are some comparisons with other programming languages, and why it is sometimes preferable to use a script versus a compiled program. The very basics of how scripts are written and used are also mentioned here, and beginners may want to refer to an additional book for more of the basic instructions. The next few chapters cover mostly text processing with scripts, including searching, sorting, printing, extracting, and counting methods. Good examples are used, including the use of regular expressions and pipes to increase the power of your scripts. Following this, there are several chapters on more advanced scripting, including how to use variables, loops, functions, standard I/O, redirection, wildcards, using "awk", and working with external files. Extensive example code is provided throughout. The remaining chapters of the book get into more advanced subjects such as database manipulation, process control, and increasing the security of scripts. Portability and shells other than bash are also discussed.
"Classic Shell Scripting" by Arnold Robbins and Nelson H. F. Beebe is a decent text on portable shell scripting, which also contains a fair amount of awk. Though written in tutorial form, it explicitly assumes that the reader knows how to use the shell interactively and, as I show below, in some cases implicitly assumes that the reader already knows the basics of shell scripting.The Good: Robbins and Beebe have created a pedagogically sound book which contains tables, fascinating digressions, sidebars (with major options on tools, along with caveats), an annotated bibliography, as well as a glossary. The book can be read straight through, since each chapter builds on the preceding ones, but the aforementioned resources are especially handy when using this book as a reference. Were it not for the tables and sidebars it would be difficult to look up things like how to set the field separator in different tools (-t in sort, -d in cut, -F in awk) or how to ensure case-insensitivity (-i in grep, -f in sort). The topics the authors cover throughout the book are interesting, but the real meat is in chapters 3, 6, 7, 9, 10, which discuss regular expressions, sed, awk (Robbins is the maintainer of gawk and also the co-author/author of books on awk), control flow, command evaluation, and file manipulation. Most of the other chapters are applications of the topics introduced up to that point, and serve to drive home the lessons already learned (though there are pleasant exceptions to this pattern, e.g. the section on crontab in ch. 13, or the material on the Unix filesystem in Appendix B). The writing is generally relaxed and at times borderline silly, e.g. "exit 42 #Return the answer to the ultimate question" or "root) nasty stuff here #Danger Will Robinson, danger!".
Classic Shell Scripting: Hidden Commands that Unlock the Power of Unix Mastering Unix Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus UNIX Shell Scripting Interview Questions, Answers, and Explanations: UNIX Shell Certification Review Shell Programming in Unix, Linux and OS X: The Fourth Edition of Unix Shell Programming (4th Edition) (Developer's Library) Shell Scripting Tutorial For Unix Linux - Included Free 6+ Hours of Online Tutorial Included Mastering Unix Shell Scripting Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly)) Linux: Linux Bash Scripting - Learn Bash Scripting In 24 hours or less A Practical Guide to Linux Commands, Editors, and Shell Programming (3rd Edition) Command Line Kung Fu: Bash Scripting Tricks, Linux Shell Programming Tips, and Bash One-liners Linux Command Line and Shell Scripting Bible Linux Shell Scripting with Bash Mastering Linux Shell Scripting Introduction to the Command Line (Second Edition): The Fat Free Guide to Unix and Linux Commands Younger You: Unlock the Hidden Power of Your Brain to Look and Feel 15 Years Younger Portable Shell Programming: An Extensive Collection of Bourne Shell Examples Customizing OS X - El Capitan Edition: Fantastic Tricks, Tweaks, Hacks, Secret Commands, & Hidden Features to Customize Your OS X User Experience Wicked Cool Shell Scripts: 101 Scripts for Linux, OS X, and UNIX Systems Learning Unix for OS X: Going Deep With the Terminal and Shell Shell Programming in Unix, Linux and OS X (Developer's Library)