O'Reilly logo
live online training icon Live Online training

Writing Cool Bash Shell Scripts in 3 Hours

Advanced Scripting in Bash

Sander van Vugt

The Bash shell is everywhere and once you get the hang of it you can interact with a wide range of operating systems. So whether you're a developer, system administrator, DBA or just a regular user of the shell, if you want to take your Bash skills to the next level then this course is for you.

To make working with Bash more convenient, you really need to dive into Bash so you can learn more advanced skills. This 3-hour training will show you how to build advanced shell scripts in a structured way; acquire basic skills for working with sed and awk; and write shell scripts that just perform better. In addition to discussing some advanced techniques, we'll analyze examples of really cool shell scripts. If becoming an expert in shell scripting is all about doing it, this course is what you'll need to take!

This live training assumes that you know the basics already. If you are new to Bash, please first take Bash Shell Scripting in 3 Hours by Sander van Vugt.

What you'll learn-and how you can apply it

  • Build advanced shell scripts in a structured way
  • Acquire basic skills for working with sed and awk
  • Write shell scripts that are performing better

This training course is for you because...

  • You are an advanced Linux user and want to improve your scripting skills
  • You are a developer that wants to learn about the Bash shell

Prerequisites

  • Minimal knowledge of the Linux operating system is required to attend this course.
  • If you are new to Bash, please first take Bash Shell Scripting in 3 Hours (Live Online Training) by Sander van Vugt.

Recommended Preparation

Minimal knowledge of the Linux operating system is required to attend this course. This can be acquired through the following: - Bash Scripting Fundamentals (video): https://learning.oreilly.com/videos/bash-scripting-fundamentals/9780134541730 - Bash Shell Scripting in 3 Hours (Live Online Training with Sander van Vugt) - Linux Fundamentals Boot Camp (Live Online Training with Sander van Vugt) - Linux Fundamentals (recorded video course) Lesson 6: Working with Bash Shell: https://learning.oreilly.com/videos/linux-fundamentals/9780135560396/9780135560396-LFUN_01_06_00

Course Set-up

Course participants need access to a working Bash shell. This is a standard requirement of any Linux distribution, as well as Mac OS X.

About your instructor

  • Sander van Vugt started working with Linux in 1992. He wrote his first book about Linux in 1999, and up to date has completed 62 different books on Linux related topics, including the best selling RHCSA/RHCE 7 Cert Guide. Sander is the author of over 20 Linux related video courses. He also works as a Linux instructor, teaching on-site and on-line classes for customers around the world.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

A Primer to sed and awk (30 minutes)

  • In this section you'll learn how to use sed and awk which will help you to automate working with complex text patterns in an efficient way.

Building Cool Scripts part 1 (25 minutes)

  • This section is scenario based. You'll learn how to create a cool script, based on a specific demand.

Break (10 mins)

Secure Scripting (25 minutes)

  • In this section you'll learn how to improve the security of your scripts.

Building Cool Scripts part 2 (25 minutes)

  • This section is scenario based. You'll learn how to create a cool script, based on a specific demand.

Break (10 mins)

Scripting for Performance (25 minutes)

  • In this section you'll learn how to analyze and how to optimize shell scripting performance.

Building Cool Scripts part 3

  • This section is scenario based. You'll learn how to create a cool script, based on a specific demand.

Q&A (10 mins)