Book

Mastering Linux Shell Scripting

Shell scripting is a quick method to prototype a complex application or a problem by automating tasks when working on Linux-based systems. This book will make use of both simple one-line commands and command sequences and complex problems can be solved with ease, from text processing to backing up sysadmin tools.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

9h28m

Language

English

About Book

Who Is This Book For?

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

Book content

chapters 9h28m total length

What and Why of Scripting with BASH

Creating Interactive Scripts

Conditions attached

Creating Code Snippets

Alternative syntax

Iterating with Loops

Creating Building Blocks with Functions

Introducing sed

Automating Apache Virtual Hosts

AWK Fundamentals

Regular expressions

Summarizing Logs with awk

A Better lastlog with Awk

Using Python as a BASH Scripting Alternative

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