Chapter 14

Automating Tasks and Shell Scripting

This chapter covers ways to automate tasks on your system by using task schedulers. This chapter also provides an introduction to the basics of creating shell scripts, or executable text files written to conform to shell syntax. Shell scripting and automation are useful on your local machine, but they are vital in DevOps and Site Reliability Engineering where the goal is to automate anything that can be automated to save human brain power for tasks that require imaginative thinking.

Shell scripts run like any other command under Linux and can contain complex logic ...

Get Ubuntu Linux Unleashed 2021 Edition, 14th Edition 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.