Advanced Bash Automation for Web Developers
Course on egghead by Cameron Nokes
- 53 min
- LengthVideo runtime
- Subscription
- Price modelegghead plan
- 17
- Lessons
- 4.5
- Rating out of 53 ratings on egghead
- Mar 2019
- Published12 Mar 2019
About this course
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!
What it covers
- 1Course Overview: Advanced Bash Automation for Web Developers
- 2Create Aliases in .bash_profile for Common Bash Commands
- 3Add Executable Files to $PATH with Bash
- 4Create and Copy Multiple Files with Brace Expansions in Bash
- 5Rerun Bash Commands with History Expansions
- 6Set Default Arguments with Bash Shell Parameter Expansions
- 7Use Bash Keyboard Shortcuts
- 8Read and Use JSON in Bash with jq
- 9Use jq and grep to Find Unused Dependencies in a Project
- 10Understand how to Redirect stdin, stdout, and stderr in Bash
- 11Use exec to Redirect stdio in a git Hook Script
- 12Use case for Complicated Conditional Statements in Bash
- 13Create a Bash Script that Accepts Named Options with getopts
- 14Create a Bash Script to Open a Pull Request on Github using getopts
- 15Send and Receive Data from a Node.js Script in Bash using the Process Object
- 16Transform Piped Data from Bash using a Node.js Transform Stream
- 17Schedule Timed Jobs on macOS with `launchd`
Similar web development courses
Same topic, nearest in length, up to three from any one provider.
Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.