Skip to main content
Books, videos, and music - all free from your public library!
LoginSign Up

Footer

Hoopla logo, Go to homepage
  • For Patrons
  • For Libraries (opens in new window)
  • For Vendors (opens in new window)
  • Facebook (opens in new window)
  • X (opens in new window)
  • Instagram (opens in new window)
  • YouTube (opens in new window)
  • TikTok (opens in new window)
  • LinkedIn (opens in new window)

Our Company

  • Our Story
  • Get Hoopla for your Library (opens in new window)
  • Get your content on hoopla (opens in new window)
  • Join our team (opens in new window)
  • Accessibility Statement

Our Content

  • Audiobooks
  • Ebooks
  • Movies
  • Television
  • Comics
  • BingePasses
  • Music
  • The Loop Blog

Help

  • Help Center
  • Submit Feedback
  • Facebook (opens in new window)
  • X (opens in new window)
  • Instagram (opens in new window)
  • YouTube (opens in new window)
  • TikTok (opens in new window)
  • LinkedIn (opens in new window)
  • Download on the App Store (opens in new window)
  • Get it on Google Play (opens in new window)
  • Available at Amazon Appstore (opens in new window)
© 2026 Midwest Tape, LLC. All rights reserved. Privacy Policy | Terms of Use
  • Hoopla logo
  • Browse
  • My Hoopla
  • Log In
  1. Navigate Home
  2. Ebooks
  3. Learn Linux Shell Scripting – Fundamentals of Bash 4.4

EBOOK

Learn Linux Shell Scripting – Fundamentals of Bash 4.4

A comprehensive guide to automating administrative tasks with the Bash shell

Sebastiaan Tammer
5
(1)
sign up
Pages
452
Year
2018
Language
English
Publisher
Packt Publishing

About

Create and maintain powerful Bash scripts for automation and administration.

Key Features
Get up and running with Linux shell scripting using real-world examples
Leverage command-line techniques and methodologies to automate common yet complex administration tasks
A practical guide with exposure to scripting constructs and common scripting patterns
Book Description
Shell scripts allow us to program commands in chains and have the system execute them as a scripted event, just like batch files. This book will start with an overview of Linux and Bash shell scripting, and then quickly deep dive into helping you set up your local environment, before introducing you to tools that are used to write shell scripts. The next set of chapters will focus on helping you understand Linux under the hood and what Bash provides the user. Soon, you will have embarked on your journey along the command line. You will now begin writing actual scripts instead of commands, and will be introduced to practical applications for scripts. The final set of chapters will deep dive into the more advanced topics in shell scripting. These advanced topics will take you from simple scripts to reusable, valuable programs that exist in the real world. The final chapter will leave you with some handy tips and tricks and, as regards the most frequently used commands, a cheat sheet containing the most interesting flags and options will also be provided.

After completing this book, you should feel confident about starting your own shell scripting projects, no matter how simple or complex the task previously seemed. We aim to teach you how to script and what to consider, to complement the clear-cut patterns that you can use in your daily scripting challenges.

What you will learn
Understand Linux and Bash basics as well as shell scripting fundamentals
Learn to write simple shell scripts that interact with Linux operating system
Build, maintain, and deploy scripts in a Linux environment
Learn best practices for writing shell scripts
Avoid common pitfalls associated with Bash scripting
Gain experience and the right toolset to write your own complex shell scripts
Who this book is for
This book targets new and existing Linux system administrators, Windows system administrators or developers who are interested in automating administrative tasks. No prior shell scripting experience is needed but in case you do this book will make a pro quickly. Readers should have a basic understanding of the command line.

Table of Contents
Introduction
Setting up your local environment
Choosing the right tools
The Linux filesystem
Understanding the Linux permissions scheme
File manipulation
Hello World!
Variables and user input
Error checking and handling
Regular expressions
Conditional testing and scripting loops
Using pipes and redirection in scripts
Functions
Scheduling and logging
Parsing Bash script arguments with getopts
Bash parameter substitution and expansion
Tips & tricks (with cheat sheet)

Related Subjects

  • General
  • System Administration
  • Computers
  • Adult Nonfiction
  • Linux & UNIX Administration
  • Linux
  • Operating Systems

Artists

Sebastiaan TammerAuthor