Beginning Portable Shell Scripting

From Novice to Professional

By Peter Seebach

Portable shell scripting is the future of modern Linux, OS X, and Unix command-line access. Beginning Portable Shell Scripting: From Novice to Professional teaches shell scripting by using the common core of most shells and expands those principles to all of scripting.

Full Description

  • ISBN13: 978-1-4302-1043-6
  • User Level: Beginner to Advanced
  • Publication Date: November 20, 2008
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $34.99
  • eBook Price: $24.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Portable shell scripting is the future of modern Linux, OS X, and Unix command–line access. Beginning Portable Shell Scripting: From Novice to Professional teaches shell scripting by using the common core of most shells and expands those principles to all of scripting.

You will learn about portable scripting and how to use the same syntax and design principles for all shells. You’ll discover about the interaction between shells and other scripting languages like Ruby and Python, and everything you learn will be shown in context for Linux, OS X, bash, and AppleScript.

What you’ll learn

This book will prime you on not just shell scripting, but also the modern context of portable shell scripting. You will learn

  • The core Linux/OS X shell constructs from a portability point of view
  • How to write scripts that write other scripts, and how to write macros and debug them
  • How to write and design shell script portably from the ground up
  • How to use programmable utilities and their inherent portability to your advantage, while pinpointing potential traps
  • Pulling everything together, how to engineer scripts that play well with Python and Ruby, and even run on embedded systems

Who this book is for

This book is for system administrators, programmers, and testers working across Linux, OS X, and the Unix command line.

Table of Contents

Table of Contents

  1. Introduction to Shell Scripting
  2. Patterns and Regular Expressions
  3. Basic Shell Scripting
  4. Core Shell Features Explained
  5. Shells Within Shells
  6. Invocation and Execution
  7. Shell Language Portability
  8. Utility Portability
  9. Bringing It All Together
  10. Shell Script Design
  11. Mixing and Matching
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

No errata are currently published