Linux Command Line and Shell Scripting Techniques: Master practical aspects of the Linux command line and then use it as a part of the shell scripting (Paperback)

Dakic, Vedran, Redzepagic, Jasmin

  • 出版商: Packt Publishing
  • 出版日期: 2022-03-24
  • 售價: $1,920
  • 貴賓價: 9.5$1,824
  • 語言: 英文
  • 頁數: 552
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1800205198
  • ISBN-13: 9781800205192
  • 相關分類: Command LineLinux
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Key Features

  • Learn how to use the command line and write and debug Linux Shell scripts
  • Automate complex repetitive tasks and backups, and learn networking and security
  • A practical approach to system administration, and virtual machine and software management

Book Description

Linux Command Line and Shell Scripting Techniques begins by taking you through the basics of the shell and command-line utilities. You'll start by exploring shell commands for file, directory, service, package, and process management. Next, you'll learn about networking - network, firewall and DNS client configuration, ssh, scp, rsync, and vsftpd, as well as some network troubleshooting tools.

You'll also focus on using the command line to find and manipulate text content, via commands such as cut, egrep, and sed. As you progress, you'll learn how to use shell scripting. You'll understand the basics - input and output, along with various programming concepts such as loops, variables, arguments, functions, and arrays. Later, you'll learn about shell script interaction and troubleshooting, before covering a wide range of examples of complete shell scripts, varying from network and firewall configuration, through to backup and concepts for creating live environments. This includes examples of performing scripted virtual machine installation and administration, LAMP (Linux, Apache, MySQL, PHP) stack provisioning and bulk user creation for testing environments.

By the end of this Linux book, you'll have gained the knowledge and confidence you need to use shell and command-line scripts.

What you will learn

  • Get an introduction to the command line, text editors, and shell scripting
  • Focus on regular expressions, file handling, and automating complex tasks
  • Automate common administrative tasks
  • Become well-versed with networking and system security scripting
  • Get to grips with repository management and network-based file synchronization
  • Use loops, arguments, functions, and arrays for task automation

Who this book is for

This book is for anyone looking to learn about Linux administration via CLI and scripting. Those with no Linux command-line interface (CLI) experience will benefit from it by learning from scratch. More experienced Linux administrators or engineers will also find this book useful, as it will help them organize their knowledge, fill in any gaps, and work efficiently with shell scripts to increase productivity.

商品描述(中文翻譯)

主要特點


  • 學習如何使用命令行,編寫和調試Linux Shell腳本

  • 自動化複雜的重複任務和備份,並學習網絡和安全

  • 實用的系統管理方法,以及虛擬機和軟件管理

書籍描述

《Linux命令行和Shell腳本技術》首先帶領您了解Shell和命令行工具的基礎知識。您將從探索用於文件、目錄、服務、軟件包和進程管理的Shell命令開始。接下來,您將學習網絡 - 網絡、防火牆和DNS客戶端配置,ssh、scp、rsync和vsftpd,以及一些網絡故障排除工具。

您還將專注於使用命令行查找和操作文本內容,通過cut、egrep和sed等命令。隨著學習的深入,您將學習如何使用Shell腳本。您將了解基礎知識 - 輸入和輸出,以及各種編程概念,如循環、變量、參數、函數和數組。稍後,您將學習Shell腳本的交互和故障排除,然後涵蓋了各種完整的Shell腳本示例,從網絡和防火牆配置到備份和創建實時環境的概念。這包括執行腳本化的虛擬機安裝和管理,LAMP(Linux、Apache、MySQL、PHP)堆棧配置以及用於測試環境的批量用戶創建的示例。

通過閱讀本書,您將獲得使用Shell和命令行腳本所需的知識和信心。

您將學到什麼


  • 介紹命令行、文本編輯器和Shell腳本

  • 專注於正則表達式、文件處理和自動化複雜任務

  • 自動化常見的管理任務

  • 熟悉網絡和系統安全腳本

  • 掌握庫管理和基於網絡的文件同步

  • 使用循環、參數、函數和數組進行任務自動化

適合閱讀對象

本書適合任何希望通過命令行界面(CLI)和腳本學習Linux管理的人。對於沒有Linux命令行界面(CLI)經驗的人來說,這本書將從頭開始教授。有經驗的Linux管理員或工程師也會發現本書有用,因為它將幫助他們組織知識,填補任何空白,並有效地使用Shell腳本提高生產力。

作者簡介

Vedran Dakic is a master of electrical engineering and computing and an IT trainer, covering system administration, cloud, automatization, and orchestration courses. He is a certified Red Hat, VMware, and Microsoft trainer. He's currently employed as head of the department of operating systems at Algebra University College in Zagreb. As part of this job, he's a lecturer for 3- and 5-year study programs in system engineering, programming, and multimedia tracks. Also, he does a lot of consulting and systems integration for his clients' projects - something he has been doing for the past 25 years. His approach is simple - bring real-world experience to all the courses that he teaches as it brings added value to his students and customers.

Jasmin Redzepagic is a professional master in computer engineering, with a sub-specialization in system engineering, but is a person with many hats worn over the years. Having worked in IT as long as he has, he has been a sound technician, SysOps, DevOps, hardware tester, editor-in-chief of a major magazine, writer, IT support lead, and head of IT at a couple of companies. He is currently employed by Algebra University College in Zagreb. This enables him to have a very wide overview of different technologies while still maintaining his focus - implementing and teaching the implementation of open source technologies in the field. Right now, his main interest is trying to teach his students and clients to understand the immense expanse of tools available for any conceivable task, with his goal being to get people to understand computers as something that is the most formidable tool we, as humanity, have ever had.

作者簡介(中文翻譯)

Vedran Dakic是電機工程和計算機科學的專家,也是一位IT培訓師,教授系統管理、雲端、自動化和編排課程。他是紅帽、VMware和微軟的認證培訓師。他目前在Zagreb的Algebra大學擔任操作系統部門的負責人。作為這份工作的一部分,他是系統工程、程式設計和多媒體專業的3年和5年課程的講師。此外,他還為客戶的項目提供大量的諮詢和系統整合服務,這是他過去25年一直在做的事情。他的方法很簡單 - 將真實世界的經驗帶到他所教授的所有課程中,這為他的學生和客戶帶來了附加價值。

Jasmin Redzepagic是一位專業的計算機工程碩士,專攻系統工程,但多年來他扮演了許多角色。在IT行業工作了這麼長時間,他曾擔任音響技術員、系統運維、開發運維、硬體測試員、主編、作家、IT支援負責人和幾家公司的IT主管。他目前在Zagreb的Algebra大學任職。這使他能夠對不同技術有廣泛的了解,同時保持專注 - 在領域中實施和教授開源技術。現在,他的主要興趣是教導學生和客戶了解可用於任何可想像任務的廣泛工具,他的目標是讓人們理解計算機作為人類有史以來最強大的工具。

目錄大綱

Table of Contents

  1. Basics of Shell and Text Terminal
  2. Using Text Editors
  3. Using Commands and Services for Process Management
  4. Using Shell to Configure and Troubleshoot Network
  5. Using Commands for File, Directory, and Service Management
  6. Shell-Based Software Management
  7. Network-Based File Synchronization
  8. Using the Command Line to Find, Extract, and Manipulate Text Content
  9. An Introduction to Shell Scripting
  10. Using Loops
  11. Working with Variables
  12. Using Arguments and Functions
  13. Using Arrays
  14. Interacting with Shell Scripts
  15. Troubleshooting Shell Scripts
  16. Shell Script Examples for Server Management, Network Configuration, and Backups
  17. Advanced Shell Script Examples

目錄大綱(中文翻譯)

目錄


  1. Shell和文字終端的基礎

  2. 使用文字編輯器

  3. 使用命令和服務進行進程管理

  4. 使用Shell配置和疑難排解網絡

  5. 使用命令進行文件、目錄和服務管理

  6. 基於Shell的軟件管理

  7. 基於網絡的文件同步

  8. 使用命令行尋找、提取和操作文本內容

  9. Shell腳本簡介

  10. 使用循環

  11. 使用變量

  12. 使用參數和函數

  13. 使用數組

  14. 與Shell腳本互動

  15. 疑難排解Shell腳本

  16. 用於服務器管理、網絡配置和備份的Shell腳本示例

  17. 高級Shell腳本示例