Using os/exec to Automate Local Changes

Understand how to automate local changes in Go by executing binaries using the exec package.

Automating the execution of tools that are local to the machine can provide a series of benefits to end users. The first of these is that it can reduce the toil that our team experiences. One of the primary goals for DevOps and Site Reliability Engineers (SRE) is to remove repetitive, manual processes. That time can be put to better use by reading a good book, organizing a sock drawer, or working on the next problem. The second benefit is to remove manual mistakes from a process.

Get hands-on with 1200+ tech skills courses.