Mastering Linux Shell Scripting

Mastering Linux Shell Scripting
PDF
  • eBook:
    Mastering Linux Shell Scripting: A practical guide to Linux command-line, Bash scripting, and Shell programming, 2nd Edition
  • Author:
    Mokhtar Ebrahim, Andrew Mallett
  • Edition:
    2 edition
  • Categories:
  • Data:
    April 19, 2018
  • ISBN:
    1788990552
  • ISBN-13:
    9781788990554
  • Language:
    English
  • Pages:
    284 pages
  • Format:
    PDF

Book Description
Master the complexities of Bash shell scripting and unlock the power of shell for your enterprise

Key Features

  • Identify high-level steps such as verifying user input
  • Use the command line and conditional statements for creating and executing simple shell scripts
  • Create and edit dynamic shell scripts to manage complex and repetitive tasks

Book Description

Mastering shell scripting is made easy with this book that guides you through everything, right from using the Linux command line through to creating Bash scripts, while also helping you make informed choices about the elements you employ.
You can use your favorite editor and start writing Bash scripts in a step-by-step manner. The book will also help you get to grips with the fundamentals of creating and running a script in normal mode, as well as in debug mode. You'll explore code snippets from various conditional statements, and realize the power of repetition and loops in your shell script. You will gradually learn to write complex shell scripts, before delving into file system administration, directories, and system administration such as networking, process management, user authentication, package installation, and regular expressions. Toward the concluding chapters, you will learn how to use Python as an alternative for Bash scripting.
By the end of this book, you will be well-versed with shell scripts and have mastered the technique of automating and communicating with your system through keyboard expressions.

What you will learn

  • Develop, execute, and debug your first Bash script
  • Create interactive scripts that prompt for user input
  • Build menu structures for operators with little command-line experience
  • Develop scripts that dynamically edit web configuration files to produce a new virtual host
  • Write scripts that use AWK to search log files and generate reports
  • Draft effective scripts using functions as building blocks, reducing maintenance and build time
  • Compare different script languages such as Python with Bash
  • Use the command line to bypass the graphical user interface (GUI) and automate common tasks

Who This Book Is For

If you are a Linux administrator or a system administrator and are interested in automating daily tasks to save time and effort, then this book is for you. Basic shell scripting and command-line experience will be required. Familiarity with the tasks you need to automate will also be helpful.

Content

Chapter 1: Getting Started and Working with Shell Scripting
Chapter 2: Drilling Deep into Process Management, Job Control, and Automation
Chapter 3: Using Text Processing and Filters in Your Scripts
Chapter 4: Working with Commands
Chapter 5: Exploring Expressions and Variables
Chapter 6: Neat Tricks with Shell Scripting
Chapter 7: Performing Arithmetic Operations in Shell Scripts
Chapter 8: Automating Decision-Making in Scripts
Chapter 9: Automating Repetitive Tasks
Chapter 10: Working with Functions
Chapter 11: Using Advanced Functionality in Scripts
Chapter 12: System Startup and Customizing a Linux System
Chapter 13: Pattern Matching and Regular Expressions with sed and awk
Chapter 14: Taking Backup and Embedding Other Languages in Shell Scripts
Chapter 15: Database Administration Using Shell Scripts

Download Mastering Linux Shell Scripting: A practical guide to Linux command-line, Bash scripting, and Shell programming, 2nd Edition PDF or ePUB format free


Free sample

Download in .PDF format



Add comments
Прокомментировать
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019