Chapter 13
Automating Tasks via Shell Scripting
This chapter covers the following topics:
Common Script Utilities
Relative and Absolute Paths
The exam objective covered in this chapter is as follows:
Objective 3.1: Given a scenario, create simple shell scripts to automate common tasks
Scripting is the art of noticing that you have done a series of tasks multiple times in roughly the same way and then automating the process by putting those tasks into a script file and executing that script instead of doing all those tasks manually each time.
Even scripting a string of simple commands can save you a lot of time in the long run. However, if you pursue learning how to script in more depth, you’ll ...
Get CompTIA Linux+ XK0-005 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.