Skip to content
KnowledgeCity

Regular Expressions and Advanced Scripting Techniques

Create a Bash script and integrate other languages into Bash
Preview the first lesson free — get full access to all 9 lessons.
Course: On-Demand
Advanced Provider Jeremy Kurtz  9 Lessons ·  53m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

In these lessons, you'll learn how to combine commands, output, and redirection from the scripting environment. Learn regular expressions, and use them with the grep tool. Learn how to automate tasks with daemons and how to insert other programming languages in scripts to enhance the power of scripts.

What You'll Learn

  • Write and format regular expressions and use them with the grep tool to search files with laser precision without opening them
  • Combine commands, output, and redirection within the Bash scripting environment using pipes and redirectors
  • Redirect Stdout and Stderr, including the use of Dev/Null, when building Bash scripts
  • Create Bash scripts that use redirection and modularize command-line efforts with functions
  • Automate tasks using daemons in Bash
  • Integrate other programming languages into Bash scripts to enhance their power

Key Takeaways

  • Regular expressions enable precise searches across files, and grep applies them to find matches without opening the files.
  • Pipes and redirectors are the Bash method for combining commands, output, and command automation.
  • Stdout and Stderr can be redirected, including to Dev/Null, to control script output.
  • Functions provide modularization that elevates command-line scripting efforts.
  • Daemons in Bash allow tasks to be automated, and other programming languages can be integrated to enhance scripts.

Frequently Asked Questions

What will I learn in this course?

You will learn regular expressions and advanced scripting techniques, including how to combine commands, output, and redirection, use regular expressions with the grep tool, automate tasks with daemons, and insert other programming languages into scripts.

What topics do the lessons cover?

The lessons cover what a regular expression is and how to format one, creating a Bash script with redirection, a review of pipes and redirectors, redirecting Stdout and Stderr, Dev/Null, functions, daemons in Bash, and integrating other languages in Bash.

What skills will I gain from this course?

This course builds skills in Batch Scripting, Custom Scripting, Grep, Linux Scripting, Regular Expressions, and Scripting.

How does this course use regular expressions?

The course teaches regular expressions and how to use them with the grep tool to create laser-precision searches on files without even opening the files.