Bash Cookbook
暫譯: Bash 食譜
Ron Brash, Ganesh Naik
- 出版商: Packt Publishing
- 出版日期: 2018-07-30
- 定價: $1,360
- 售價: 8.0 折 $1,088
- 語言: 英文
- 頁數: 264
- 裝訂: Paperback
- ISBN: 1788629361
- ISBN-13: 9781788629362
-
相關分類:
Command Line
-
相關翻譯:
Bash Cookbook (簡體中文版) (簡中版)
立即出貨 (庫存=1)
買這商品的人也買了...
-
$1,619Sed & Awk, 2/e (Paperback)
-
$2,480$2,356 -
$3,400$3,230 -
$1,617Deep Learning (Hardcover)
-
$690$538 -
$2,300$2,185
商品描述
Create simple to advanced shell scripts and extend your system functionality with effective recipes
Key Features
- Automate tedious and repetitive tasks
- Create several novel applications ranging from a simple IRC logger to a webscraper
- Become a seasoned user to efficiently manage your system
Book Description
In Linux, one of the most powerful tools that can be used almost everyday is the Bash shell. Using a collection of engaging recipes, Bash Cookbook walks you through a series of exercises designed to teach you to effectively use the Bash shell to create and execute your own scripts.
The book starts by introducing you to the basics of using the Bash shell and teaches you the fundamentals of generating any input necessary from a command. Then, you'll get to grips with a number of exercises that demonstrate the automation of daily task for sysadmins and power users. Once you have a hands-on understanding, you move onto more advanced projects that can solve real-world problems in a comprehensive and portable way on Linux. You will discover projects such as creating an application with a menu, beginning scripts on a startup, parsing and displaying human-readable information, and executing remote commands with authentication using self-generated SSH keys.
By the end of this book, you will have gained significant experience of solving real-world problems from automating routine tasks to managing your systems as well as creating your own scripts.
What you will learn
- Understand the basics of Bash shell scripting on a Linux system
- Gain working knowledge on how redirections and pipes interact
- Retrieve and parse input or output of any command
- Automate tasks such as data collection and creating and applying a patch
- Create a script that acts like a program with different features
- Customize your Bash shell and discover neat tricks to extend your programs
- Compile and install shell and log commands on your system's console using Syslog
Who This Book Is For
Bash Cookbook is for power users and system administrators involved in writing Bash scripts to automate tasks. This book is also ideal for users who are interested in automating complex daily tasks.
About the Author
Ron Brash is CTO & co-founder of a successful technology consultancy that provides services in a multitude of domains, but primarily in FOSS and Linux. He has a MsComp degree from Concordia University, Montreal, and a Bachelor of Technology from BCIT, Vancouver, Canada. For over 7 years, he has been working on embedded systems, which provide security and network connectivity in industrial control systems and SCADA networks - all running an optimized embedded Linux. He participates regularly at FOSS and community events providing feedback, mini-seminars where appropriate and loves to share knowledge. In fact, the concept of sharing knowledge and improving the lives of developers, users and administrators was among the motivations for writing this book - "why can't technology be easy and accessible for everyone?" In his spare time, he explores new technologies for improved connectivity/performance and if not in front of a computer, he enjoys spending time cooking, extreme sports, being on the water and tuning performance cars.
商品描述(中文翻譯)
創建簡單到進階的 Shell 腳本,並透過有效的配方擴展系統功能
主要特點
- 自動化繁瑣和重複的任務
- 創建多個新穎的應用程序,從簡單的 IRC 記錄器到網頁爬蟲
- 成為經驗豐富的使用者,有效管理您的系統
書籍描述
在 Linux 中,幾乎每天都可以使用的最強大工具之一是 Bash shell。透過一系列引人入勝的配方,《Bash Cookbook》將引導您完成一系列練習,旨在教您有效使用 Bash shell 來創建和執行自己的腳本。
本書首先介紹了使用 Bash shell 的基本知識,並教您如何從命令生成所需的任何輸入的基本原理。接著,您將掌握多個練習,這些練習展示了系統管理員和高級使用者日常任務的自動化。一旦您對這些有了實際的理解,您將進入更高級的專案,這些專案能夠以全面且可攜帶的方式解決 Linux 中的現實問題。您將發現的專案包括創建具有菜單的應用程序、在啟動時開始腳本、解析和顯示人類可讀的信息,以及使用自生成的 SSH 金鑰執行帶有身份驗證的遠程命令。
在本書結束時,您將獲得顯著的經驗,從自動化例行任務到管理系統,以及創建自己的腳本,解決現實世界的問題。
您將學到什麼
- 了解 Linux 系統上 Bash shell 腳本的基本知識
- 獲得有關重定向和管道如何互動的工作知識
- 檢索和解析任何命令的輸入或輸出
- 自動化任務,例如數據收集和創建及應用補丁
- 創建一個像程序一樣具有不同功能的腳本
- 自定義您的 Bash shell,並發現擴展程序的巧妙技巧
- 使用 Syslog 在系統控制台上編譯和安裝 shell 和日誌命令
本書適合誰
《Bash Cookbook》適合參與編寫 Bash 腳本以自動化任務的高級使用者和系統管理員。本書也非常適合對自動化複雜日常任務感興趣的使用者。
關於作者
Ron Brash 是一家成功的技術顧問公司的首席技術官及共同創辦人,該公司在多個領域提供服務,但主要集中在 FOSS 和 Linux。他擁有蒙特利爾的康考迪亞大學的計算機碩士學位,以及加拿大溫哥華的 BCIT 的技術學士學位。超過 7 年來,他一直在嵌入式系統方面工作,這些系統在工業控制系統和 SCADA 網絡中提供安全性和網絡連接,所有這些都運行優化的嵌入式 Linux。他定期參加 FOSS 和社區活動,提供反饋、適當的迷你研討會,並喜歡分享知識。事實上,分享知識和改善開發者、使用者和管理員生活的概念是他撰寫本書的動機之一——「為什麼技術不能對每個人都簡單易用?」在空閒時間,他探索新技術以改善連接性/性能,如果不在電腦前,他喜歡花時間烹飪、參加極限運動、在水上活動和調整性能車輛。