Beginning Portable Shell Scripting: From Novice to Professional (Paperback)

Peter Seebach

  • 出版商: Apress
  • 出版日期: 2008-11-21
  • 售價: $1,720
  • 貴賓價: 9.5$1,634
  • 語言: 英文
  • 頁數: 376
  • 裝訂: Paperback
  • ISBN: 1430210435
  • ISBN-13: 9781430210436
  • 相關分類: Command Line
  • 海外代購書籍(需單獨結帳)



Portable shell scripting is today 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 is this book for?

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

About the Apress Beginning Series

The Beginning series from Apress is the right choice to get the information you need to land that crucial entry–level job. These books will teach you a standard and important technology from the ground up because they are explicitly designed to take you from “novice to professional.” You’ll start your journey by seeing what you need to know—but without needless theory and filler. You’ll build your skill set by learning how to put together real–world projects step by step. So whether your goal is your next career challenge or a new learning opportunity, the Beginning series from Apress will take you there—it is your trusted guide through unfamiliar territory!


便攜式shell腳本是現代Linux、OS X和Unix命令行訪問的未來。《從新手到專業人士的開始便攜式shell腳本》通過使用大多數shell的共同核心來教授shell腳本,並將這些原則擴展到所有腳本。

您將學習有關便攜式腳本和如何在所有shell中使用相同的語法和設計原則的知識。您將了解shell與Ruby和Python等其他腳本語言之間的交互作用,並且您所學的一切都將在Linux、OS X、bash和AppleScript的上下文中展示。

- 從可移植性的角度來看,核心Linux/OS X shell結構
- 如何編寫生成其他腳本的腳本,以及如何編寫和調試宏
- 如何從頭開始可移植地編寫和設計shell腳本
- 如何利用可編程工具及其固有的可移植性,同時避免潛在的陷阱
- 如何將所有內容結合起來,編寫與Python和Ruby兼容且甚至可以在嵌入式系統上運行的腳本

這本書適合系統管理員、程序員和在Linux、OS X和Unix命令行上工作的測試人員閱讀。