Learning Linux Shell Scripting Second Edition
暫譯: 學習 Linux Shell 腳本編程(第二版)

Ganesh Naik

  • 出版商: Packt Publishing
  • 出版日期: 2018-05-17
  • 定價: $1,520
  • 售價: 9.0$1,368
  • 語言: 英文
  • 頁數: 332
  • 裝訂: Paperback
  • ISBN: 1788993195
  • ISBN-13: 9781788993197
  • 相關分類: LinuxCommand Line
  • 立即出貨 (庫存=1)

商品描述

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

Key Features

  • 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

Book Description

Linux is 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 tasks and for testing or product development activities.

This book covers Bash, 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 or 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. As compared to last editions, we have used CentOS distribution instead of Ubuntu Distribution. Linux Shell Scripting is independent of Linux Distributions, but we have tried to educate reader for both the types of distros.Then we will ensure, you understand Shell's interpretation of commands and get a firmer 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 environment. We will also learn about grep, Stream Editor, and Awk, which are very powerful text filters & editors.

Finally, you'll get to understand the capabilities of scripting and learn about using other language scripts such as Python, Pearl, Ruby scripts in Shell Scripts as well as you learn accomplishing Database administration tasks for databases such as MySQL & Oracle

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
  • Use existing other language scripts such as Python, Pearl & Ruby in Shell Scripts
  • Automate database administration tasks for various databases such as MySQL, Oracle and similar

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

商品描述(中文翻譯)

釋放 Shell 腳本的力量,以解決現實世界中的問題,突破撰寫繁瑣代碼的慣例

主要特點


  • 學習如何高效且有效地構建 Shell 腳本,並利用這本實用的書籍開發高級應用程式

  • 通過撰寫專業且符合實際需求的腳本來開發高品質和高效的解決方案,並通過檢查和 Shell 追蹤來調試腳本

  • 逐步教程,從基本層級到非常高級的功能,自動化日常任務的腳本開發

書籍描述

Linux 是最強大且被廣泛採用的作業系統之一。Shell 是一個讓用戶直接與作業系統互動的程式。腳本是存儲在文件中的命令集合。Shell 可以讀取這個文件,並像在鍵盤上輸入一樣執行這些命令。Shell 腳本用於自動化日常管理任務以及測試或產品開發活動。

本書涵蓋 Bash(GNU Bourne Again SHell),幫助您在令人興奮的 Linux Shell 腳本世界中工作。我們從介紹 Shell 環境開始,解釋在 Shell 中使用的基本命令。接下來,我們將檢查、終止或控制 Linux 作業系統中進程的執行。此外,我們將教您有關 Linux 中可用的過濾工具,並解釋標準輸出和標準錯誤設備。與之前的版本相比,我們使用 CentOS 發行版而非 Ubuntu 發行版。Linux Shell 腳本與 Linux 發行版無關,但我們試圖讓讀者了解這兩種類型的發行版。然後,我們將確保您理解 Shell 對命令的解釋,並更牢固地掌握以便在實踐中使用。接下來,您將體驗一些現實世界的基本要素,例如調試和流利地執行 Shell 算術。然後,您將邁出一步,學習 Shell 腳本中的新主題和高級主題,例如啟動系統和自定義 Linux 環境。我們還將學習 grep、Stream Editor 和 Awk,這些都是非常強大的文本過濾器和編輯器。

最後,您將了解腳本的能力,並學習如何在 Shell 腳本中使用其他語言的腳本,例如 Python、Perl、Ruby 腳本,以及如何完成 MySQL 和 Oracle 等數據庫的管理任務。

您將學到什麼


  • 熟悉 Linux 中各種可用的文本過濾工具

  • 結合基本的文本和文件處理命令來處理數據並自動化重複任務

  • 理解表達式和變量及其實際使用方法

  • 自動化決策,節省大量重訪代碼的時間和精力

  • 掌握高級功能,例如使用 traps 和 signals 以及使用對話框來開發界面

  • 啟動系統並自定義 Linux 系統

  • 深入了解正則表達式和模式匹配,以理解腳本的能力

  • 在 Shell 腳本中使用現有的其他語言腳本,例如 Python、Perl 和 Ruby

  • 自動化 MySQL、Oracle 等各種數據庫的管理任務

本書適合誰

本書非常適合那些熟練使用 Linux 並希望學習 Shell 腳本以提高效率和實用技能的人。

在本書結束時,您將能夠自信地在現實世界中使用自己的 Shell 腳本。

最後瀏覽商品 (20)