Preface

The shell on a GNU/Linux system is arguably the most powerful tool for any user. In general terms, the shell serves as an interface between the system's user and the operating system kernel. We use the shell to run commands in order to perform tasks and frequently save the output to files. While these simple use-case are easy to achieve by just using some commands on the shell, sometimes the task at hand is more complex than that.

Enter shell scripting, the magical tool that allows you to write step-by-step instructions to the shell on how to perform a complex task. However, just learning the syntax to write scripts is not enough unless you know the commands at your disposal. Only then would scripts be reusable, efficient, and easy to use. ...

Get Linux Shell Scripting Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.