Shell Programming in Unix, Linux and OS X (Developer’s Library)
Author: Stephen Kochan (Author), Patrick Wood (Author)
Publisher finelybook 出版社: Addison-Wesley Professional
Edition 版次: 4th
Publication Date 出版日期: 2016-08-31
Language 语言: English
Print Length 页数: 416 pages
ISBN-10: 0134496000
ISBN-13: 9780134496009
Book Description
Shell Programming in Unix, Linux and OS X is a thoroughly updated revision of Kochan and Wood’s classic Unix Shell Programming tutorial. Following the methodology of the original text, the book focuses on the POSIX standard shell, and teaches you how to develop programs in this useful programming environment, taking full advantage of the underlying power of Unix and Unix-like operating systems.
After a quick review of Unix utilities, the book’s authors take you step-by-step through the process of building shell scripts, debugging them, and understanding how they work within the shell’s environment. All major features of the shell are covered, and the large number of practical examples make it easy for you to build shell scripts for your particular applications. The book also describes the major features of the Korn and Bash shells.
Learn how to…
- Take advantage of the many utilities provided in the Unix system
- Write powerful shell scripts
- Use the shell’s built-in decision-making and looping constructs
- Use the shell’s powerful quoting mechanisms
- Make the most of the shell’s built-in history and command editing capabilities
- Use regular expressions with Unix commands
- Take advantage of the special features of the Korn and Bash shells
- Identify the major differences between versions of the shell language
- Customize the way your Unix system responds to you
- Set up your shell environment
- Make use of functions
- Debug scripts
Contents at a Glance
1 A Quick Review of the Basics
2 What Is the Shell?
3 Tools of the Trade
4 And Away We Go
5 Can I Quote You on That?
6 Passing Arguments
7 Decisions, Decisions
8 ‘Round and ‘Round She Goes
9 Reading and Printing Data
10 Your Environment
11 More on Parameters
12 Loose Ends
13 Rolo Revisited
14 Interactive and Nonstandard Shell Features
A Shell Summary
B For More Information
About the Author
Stephen Kochan is the author or co-author of several best-selling titles on Unix and the C language, including Programming in C, Programming in Objective-C, Topics in C Programming, and Exploring the Unix System. He is a former software consultant for AT&T Bell Laboratories, where he developed and taught classes on Unix and C programming.
Patrick Wood is the CTO of the New Jersey location of Electronics for Imaging. He was a member of the technical staff at Bell Laboratories when he met Mr. Kochan in 1985. Together they founded Pipeline Associates, Inc., a Unix consulting firm, where he was vice president. They co-authored Exploring the Unix System, Unix System Security, Topics in C Programming, and Unix Shell Programming.