Book

Learn Linux Shell Scripting - Fundamentals of Bash 4.4

Shell scripting is one of the most common and powerful ways to automate tasks in a Linux / Unix environment. With the help of real-world exercises, you will learn to leave the GUI behind, automate tasks, and unlock the true power of Bash.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

15h4m

Language

English

About Book

Who Is This Book 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.

Book content

chapters 15h4m total length

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 Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required