Pro Bash Programming, Second Edition: Scripting the GNU/Linux Shell

Chris Johnson

  • 出版商: Apress
  • 出版日期: 2015-06-15
  • 售價: $3,280
  • 貴賓價: 9.5$3,116
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 1484201221
  • ISBN-13: 9781484201220
  • 相關分類: Command LineLinux
  • 無法訂購

商品描述

Pro Bash Programming teaches you how to effectively utilize the Bash shell in your programming. The Bash shell is a complete programming language, not merely a glue to combine external Linux commands. By taking full advantage of Shell internals, Shell programs can perform as snappily as utilities written in C or other compiled languages. And you will see how, without assuming Unix lore, you can write professional Bash 4.3 programs through standard programming techniques.

This second edition has updated for Bash 4.3, and many scripts have been rewritten to make them more idiomatically Bash, taking better advantage of features specific to Bash. It is easy to read, understand, and will teach you how to get to grips with Bash programming without drowning you in pages and pages of syntax.

Using this book you will be able to use the shell efficiently, make scripts run faster using expansion and external commands, and understand how to overcome many common mistakes that cause scripts to fail. This book is perfect for all beginning Linux and Unix system administrators who want to be in full control of their systems, and really get to grips with Bash programming.

商品描述(中文翻譯)

《Pro Bash Programming》教導您如何在程式設計中有效地使用Bash shell。Bash shell是一個完整的程式語言,而不僅僅是結合外部Linux指令的工具。通過充分利用Shell內部功能,Shell程式可以像C語言或其他編譯語言編寫的工具一樣高效。您將看到,即使不需要Unix知識,也可以通過標準的程式設計技巧來撰寫專業的Bash 4.3程式。

這本第二版已經更新至Bash 4.3,並且許多腳本已經重新撰寫,使它們更符合Bash的習慣用法,更好地利用Bash特定的功能。這本書易於閱讀和理解,將教導您如何掌握Bash程式設計,而不會淹沒在冗長的語法頁面中。

通過閱讀本書,您將能夠有效地使用shell,使用擴展和外部指令使腳本運行更快,並了解如何克服導致腳本失敗的許多常見錯誤。這本書非常適合所有初學Linux和Unix系統管理員,他們希望完全掌握系統並真正掌握Bash程式設計。