Tuesday, 12 March, 2019 UTC


Bash makes automation easy. Just a few lines of code can take care of repetitive tasks for you and your teammates. In this course, we’ll dive deep into the automation potential of bash. You’ll learn to leverage common hooks that open up interesting automation possibilities, like git hooks, adding functions and aliases in your bash_profile, and running scheduled jobs in launchd. For example, we’ll write a git hook that checks package.json for changes, and if there are changes, the hook runs npm install for you automatically. Along the way, you’ll also learn: - more advanced bash commands like exec - syntax such as redirecting stdout and stderr to the same destination - timesaving tricks like brace expansions Automation is all about saving you time — and at only 52 minutes, this course is well worth yours. Enjoy!