Chapter 13

Create Simple Shell Scripts to Automate Common Tasks

This chapter covers the following Linux+ XK0-005 exam objective:

  • Images 3.1: Given a scenario, create simple shell scripts to automate common tasks.

Get ready for a larger-than-average exam topic: scripting. Scripting is the process of creating programs from BASH commands. Although the programming features in BASH are rudimentary compared to those in other languages, the vast number of commands available makes BASH a very powerful language for Linux.

While reading this chapter, keep in mind that much of what you will learn here is not just for scripting. For example, you will learn ...

Get CompTIA Linux+ XK0-005 Exam Cram 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.