Shell scripting is a way to harness and customize the power of any Unix system, and an essential skill for Unix users, system administrators, and even professional Mac OS X developers. But beneath this simple promise lies a treacherous ocean of variations in Unix commands and standards. This thoroughly revised edition of bash Cookbook teaches shell scripting the way Unix masters practice the craft.

Three Unix veterans present 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. This cookbook is full of useful scripts that readers can use right away, along with examples that explain how to create better scripts.

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

Book Details

Title: bash Cookbook: Solutions and Examples for bash Users, 2nd Edition
Author: Cameron Newham, Carl Albing, JP Vossen
Length: 600 pages
Edition: 2
Language: English
Publisher: O'Reilly Media
Publication Date: 2017-09-25
ISBN-10: 1491975334
ISBN-13: 9781491975336