bash Cookbook


The key to mastering any Unix system, especially Linux and Mac OS X, is a thorough knowledge of shell scripting. Scripting is a way to harness and customize the power of any Unix system, and it’s an essential skill for any Unix users, including system administrators and professional OS X developers. But beneath this simple promise lies a treacherous ocean of variations in Unix commands and standards.

bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell — the bash shell — and cygwin or other popular Unix emulation packages. Packed full of useful scripts, along with examples that explain how to create better scripts, this new cookbook gives professionals and power users everything they need to automate routine tasks and enable them to truly manage their systems — rather than have their systems manage them.

Table of Contents
Chapter 1 Beginning bash
Chapter 2 Standard Output
Chapter 3 Standard Input
Chapter 4 Executing Commands
Chapter 5 Basic Scripting: Shell Variables
Chapter 6 Shell Logic and Arithmetic
Chapter 7 Intermediate Shell Tools I
Chapter 8 Intermediate Shell Tools II
Chapter 9 Finding Files: find, locate, slocate
Chapter 10 Additional Features for Scripting
Chapter 11 Working with Dates and Times
Chapter 12 End-User Tasks As Shell Scripts
Chapter 13 Parsing and Similar Tasks
Chapter 14 Writing Secure Shell Scripts
Chapter 15 Advanced Scripting
Chapter 16 Configuring and Customizing bash
Chapter 17 Housekeeping and Administrative Tasks
Chapter 18 Working Faster by Typing Less
Chapter 19 Tips and Traps: Common Goofs for Novices

Appendix A Reference Lists
Appendix B Examples Included with bash
Appendix C Command-Line Processing
Appendix D Revision Control
Appendix E Building bash from Source

Book Details

  • Paperback: 624 pages
  • Publisher: O’Reilly Media (May 2007)
  • Language: English
  • ISBN-10: 0596526784
  • ISBN-13: 978-0596526788
Download [3.4 MiB]

You may also like...

Leave a Reply