Tištěná verze: Parker, Steve. Shell scripting. Hoboken, N.J. : Wiley ; Chichester : John Wiley [distributor], 2011 ISBN 9781118024485
Obsahuje bibliografické odkazy a rejstřík
pt. 1. About the ingredients -- pt. 2. Recipes for using and extending system tools -- pt. 3. Recipes for systems administration -- pt. 4. Reference
A compendium of shell scripting recipes that can immediately be used, adjusted, and applied The shell is the primary way of communicating with the Unix and Linux systems, providing a direct way to program by automating simple-to-intermediate tasks. With this book, Linux expert Steve Parker shares a collection of shell scripting recipes that can be used as is or easily modified for a variety of environments or situations. The book covers shell programming, with a focus on Linux and the Bash shell; it provides credible, real-world relevance, as well as providing the flexible tools to get started.
Chapter 4: Wildcard Expansion; Filename Expansion (Globbing); Bash Globbing Features; Shell Options; Regular Expressions and Quoting; Overview of Regular Expressions; Quoting; Summary; Chapter 5: Conditional Execution; If/Then; Else; elif; Test ([); Flags for Test; File Comparison Tests; String Comparison Tests; Regular Expression Tests; Numerical Tests; Combining Tests; Case; Summary; Chapter 6: Flow Control Using Loops; For Loops; When to Use For Loops; Imaginative Ways of Feeding "For" with Data; C-Style For Loops; While Loops; When to Use While Loops; Ways to Use While Loops.