Chapter 26. BASH Scripting Essentials

This chapter covers the following topics:

This chapter covers the following exam objective:

  • Objective 5.1: Given a scenario, deploy and execute basic BASH scripts.

Shell scripting is about writing your own tools to automate some of your routine work. Do you commonly use a procedure that involves a handful of commands? A shell script can turn it into one command. The time you invest in learning to script will pay for itself many times over with the time you save.

You don’t have to be a programmer to be a good scripter. You already know how to work with the Linux command line, and all scripting starts there.

“Do I Know This Already?” Quiz

The “Do I Know This Already?” ...

Get CompTIA Linux+ XK0-004 Cert Guide 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.