Advanced Bash Automation for Web Developers

بواسطة: egghead.io

Overview

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!

Syllabus

  • 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`

Taught by

Cameron Nokes

Advanced Bash Automation for Web Developers
الذهاب الي الدورة

Advanced Bash Automation for Web Developers

بواسطة: egghead.io

  • egghead.io
  • مدفوعة
  • الإنجليزية
  • متاح شهادة
  • متاح في أي وقت
  • الجميع
  • N/A