From the course: Troubleshooting and Debugging Bash
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Change logging - Bash Tutorial
From the course: Troubleshooting and Debugging Bash
Change logging
- [Instructor] A change log is important to any script that is written and remains in production use over time. It is useful to comment your change log, and iterate. Scripts, they start innocently enough, right? You have a small task that you feel you can automate, and you want to use scripting to your advantage, to automate your work and make life more efficient. Bravo, that's the whole point of what we're doing, right? But then we realize that we could have done something a little bit better, we realize our script could be a little bit more functional if we added a line here, or if we added another line there. Maybe a new operating system requires a slightly different way to do things, and so we modify our script again. Keeping track of all the changes that you make can make referring to earlier versions, or understanding the evolution of the script much easier. While you can use GitHub to publish changes which will iterate and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.