Shell Programming in Unix, Linux and OS X: The Fourth Edition of Unix Shell Programming, 4/e (Paperback)
暫譯: Unix、Linux 和 OS X 的 Shell 程式設計:第四版

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 Programming》的一次全面更新修訂。這本書遵循原始文本的方法論,專注於 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 特性

Shell 總結

更多資訊