CHAPTER 17

image

Script Development Management

The need for a script development system becomes obvious when you want to modify scripts that are in use on a regular basis by you, other users, or cron jobs. You can’t afford to have a script fail; that could result in anything from users not being able to access the system, to an invoice not being sent out.

If like the original author you are writing scripts for a couple of operating systems, a development machine for each is out of the question (though you can have the options of VM’s and Docker). The solution that he came up with was using three different directories, one for developing the script ...

Get Shell Scripting Recipes: A Problem-Solution Approach, Second 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.