Table of Contents; Preface; Who Should Read This Book; About This Book; GNU Software; A Note About Code Examples; Useless Use of cat; A Note About Perl; More Resources; Conventions Used in This Book; Using Code Examples; We’d Like to Hear from You; Safari® Enabled; Acknowledgments; Reviewers; O’Reilly; From the Authors; Carl; JP; Cameron; Beginning bash; Why bash?; The bash Shell; 1.1 Decoding the Prompt; Problem; Solution; Discussion; See Also; 1.2 Showing Where You Are; Problem; Solution; Discussion; See Also; 1.3 Finding and Running Commands; Problem; Solution; Discussion; See Also
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.