Learning Linux Shell Scripting(Paperback)

Ganesh Sanjiv Naik

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

相關主題

商品描述

Unleash the power of shell scripts to solve real-world problems by breaking through the practice of writing tedious code

About This Book

  • Learn how to efficiently and effectively build shell scripts and develop advanced applications with this handy book
  • Develop high quality and efficient solutions by writing professional and real-world scripts, and debug scripts by checking and shell tracing
  • A step-by-step tutorial to automate routine tasks by developing scripts from a basic level to very advanced functionality

Who This Book Is For

This book is ideal for those who are proficient at working with Linux and who want to learn about shell scripting to improve their efficiency and practical skills. By the end of this book, you will be able to confidently use your own shell scripts in the real world.

What You Will Learn

  • Familiarize yourself with the various text filtering tools available in Linux
  • Combine the fundamental text and file processing commands to process data and automate repetitive tasks
  • Understand expressions and variables and how to use them practically
  • Automate decision-making and save a lot of time and effort of revisiting code
  • Get to grips with advanced functionality such as using traps and signals and using dialogs to develop screens
  • Start up a system and customize a Linux system
  • Take an in-depth look at regular expressions and pattern matching to understand the capabilities of scripting

In Detail

Linux is the one of the most powerful and universally adopted OSes. Shell is a program that gives the user direct interaction with the operating system. Scripts are collections of commands that are stored in a file. The shell can read this file and act on the commands as if they were typed on the keyboard. Shell scripting is used to automate day-to-day administration, and for testing or product development tasks.

This book covers Bash, the GNU Bourne Again SHell, preparing you to work in the exciting world of Linux shell scripting. We start with an introduction to the Shell environment and explain basic commands used in Shell. Next we move on to check, kill, and control the execution of processes in Linux OS. Further, we teach you about the filter tools available in Linux and explain standard output and standard errors devices.

Then we will ensure you understand Shell's interpretation of commands and get a firm grasp so you use them in practice. Next, you'll experience some real-world essentials such as debugging and perform Shell arithmetic fluently. Then you'll take a step ahead and learn new and advanced topics in Shell scripting, such as starting up a system and customizing a Linux system. Finally, you'll get to understand the capabilities of scripting and learn about Grep, Stream Editor, and Awk.

商品描述(中文翻譯)

發揮 shell 腳本的威力,解決現實世界的問題,打破繁瑣編寫程式碼的慣例。

關於本書:
- 透過這本實用的書籍,學習如何高效且有效地建立 shell 腳本,並開發高級應用程式。
- 透過撰寫專業且實用的腳本,開發高品質且高效能的解決方案,並透過檢查和 shell 追蹤來進行腳本的除錯。
- 透過逐步教學,從基礎到高級功能,自動化例行工作,開發腳本。

本書適合對 Linux 有經驗且希望透過 shell 腳本提升效率和實用技能的讀者。閱讀完本書後,您將能夠自信地在實際環境中使用自己的 shell 腳本。

學到的內容:
- 熟悉 Linux 中各種文本過濾工具。
- 結合基本的文本和文件處理命令,處理數據並自動化重複性任務。
- 理解表達式和變量,並實際應用它們。
- 自動化決策,節省重複編碼的時間和精力。
- 掌握高級功能,如使用陷阱和信號,以及使用對話框開發界面。
- 啟動系統並自定義 Linux 系統。
- 深入研究正則表達式和模式匹配,了解腳本的能力。

詳細內容:
Linux 是最強大且普遍採用的操作系統之一。Shell 是一個讓使用者直接與操作系統互動的程式。腳本是存儲在文件中的命令集合。Shell 可以讀取此文件並執行命令,就像在鍵盤上輸入一樣。Shell 腳本用於自動化日常管理,以及測試或產品開發任務。

本書涵蓋了 Bash,GNU Bourne Again SHell,讓您準備好在令人興奮的 Linux shell 腳本世界中工作。我們從介紹 Shell 環境並解釋 Shell 中使用的基本命令開始。接下來,我們轉向檢查、終止和控制 Linux OS 中進程的執行。此外,我們還教您有關 Linux 中可用的過濾工具,並解釋標準輸出和標準錯誤設備。

然後,我們將確保您理解 Shell 對命令的解釋,並熟練地應用它們。接下來,您將體驗一些實際的基本知識,例如除錯和流暢地執行 Shell 算術。然後,您將更進一步學習 Shell 腳本中的新技術和高級主題,例如啟動系統和自定義 Linux 系統。最後,您將了解腳本的能力,並學習有關 Grep、流編輯器和 Awk 的知識。