Beginning Portable Shell Scripting: From Novice to Professional
Peter SeebachBooks.org participates in affiliate programs including Bookshop.org and the Amazon Services LLC Associates Program. We may earn a commission from qualifying purchases made through links on this page, at no additional cost to you.
Overview
Portable shell scripting is the future of modern Linux, OS X, and Unix commandline 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
This book is for system administrators, programmers, and testers working across Linux, OS X, and the Unix command line.
Table of Contents
- Introduction to Shell Scripting
- Patterns and Regular Expressions
- Basic Shell Scripting
- Core Shell Features Explained
- Shells Within Shells
- Invocation and Execution
- Shell Language Portability
- Utility Portability
- Bringing It All Together
- Shell Script Design
- Mixing and Matching
Synopsis
This book introduces a vital new aspect of shell scripting to the huge number of administrators and developers working across Linux, OS X and Unix command line. While there have been other shell scripting books, Peter Seebach here addresses the modern issue of portability to this broad customer base. This book, addressing a wide technology base, is set to become the modern shell scripting reference.