Advanced Bash Automation for Web Developers
Learn advanced bash automation techniques in this comprehensive course. Save time and automate repetitive tasks with just a few lines of code. Discover how to leverage git hooks, create aliases, use keyboard shortcuts, and more. With practical examples like checking package.json for changes and running npm install automatically, this course is perfect for web developers. Enhance your skills in redirecting stdin, stdout, and stderr, handling conditional statements, and scheduling jobs on macOS. Don’t miss out on this 52-minute course that will revolutionize your automation workflow.
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:
Automation is all about saving you time — and at only 52 minutes, this course is well worth yours. Enjoy!
Course Content
Course Overview: Advanced Bash Automation for Web Developers
Create Aliases in .bash_profile for Common Bash Commands
Add Executable Files to $PATH with Bash
Create and Copy Multiple Files with Brace Expansions in Bash
Rerun Bash Commands with History Expansions
Set Default Arguments with Bash Shell Parameter Expansions
Use Bash Keyboard Shortcuts
Read and Use JSON in Bash with jq
Use jq and grep to Find Unused Dependencies in a Project
Understand how to Redirect stdin, stdout, and stderr in Bash
Use exec to Redirect stdio in a git Hook Script
Use case for Complicated Conditional Statements in Bash
Create a Bash Script that Accepts Named Options with getopts
Create a Bash Script to Open a Pull Request on Github using getopts
Send and Receive Data from a Node.js Script in Bash using the Process Object
Transform Piped Data from Bash using a Node.js Transform Stream
Schedule Timed Jobs on macOS with `launchd`
User Reviews
Be the first to review “Advanced Bash Automation for Web Developers”
You must be logged in to post a review.
There are no reviews yet.