Shell Programming in Unix, Linux and OS X: The Fourth Edition of Unix Shell Programming, 4/e (Paperback)

Stephen G. Kochan, Patrick Wood

買這商品的人也買了...

商品描述

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

 

商品描述(中文翻譯)

《Unix、Linux 和 OS X 的 Shell 程式設計》是 Kochan 和 Wood 的經典教材《Unix Shell 程式設計》的全面更新版。本書遵循原文的方法論,專注於 POSIX 標準的 shell,並教導讀者如何在這個有用的程式設計環境中開發程式,充分利用 Unix 和類 Unix 作業系統的強大功能。

在快速回顧 Unix 工具後,本書的作者逐步引導讀者建立 shell 腳本、進行除錯,並理解它們在 shell 環境中的運作方式。書中涵蓋了 shell 的所有主要功能,並通過大量實用示例,讓讀者能夠輕鬆為特定應用程式建立 shell 腳本。本書還介紹了 Korn 和 Bash shell 的主要功能。

學習如何...

- 充分利用 Unix 系統提供的許多工具
- 撰寫強大的 shell 腳本
- 使用 shell 內建的決策和迴圈結構
- 使用 shell 強大的引用機制
- 充分利用 shell 內建的歷史記錄和命令編輯功能
- 在 Unix 命令中使用正則表達式
- 充分利用 Korn 和 Bash shell 的特殊功能
- 辨識不同版本的 shell 語言之間的主要差異
- 自訂 Unix 系統對您的回應方式
- 設定您的 shell 環境
- 使用函數
- 除錯腳本

《內容一覽》

1. 基礎知識快速回顧
2. 什麼是 Shell?
3. 工具概述
4. 開始吧
5. 引用
6. 傳遞參數
7. 做決策
8. 迴圈
9. 讀取和輸出資料
10. 您的環境
11. 更多關於參數
12. 其他事項
13. 重新訪問 Rolo
14. 互動和非標準 Shell 功能

A. Shell 摘要
B. 更多資訊