Introduction to Bash Script Automation

Posted 1 year 11 months ago by Packt

Study Method : Online
Duration : 5 weeks
Subject : IT & Computer Science
Overview
Hone your Bash scripting skills to help you automate repetitive tasks and boost productivity with this practical online course.
Course Description

Gain a solid understanding of Bash shell scripting

Many organisations favour Bash scripts for executing shell commands and automating repetitive tasks. Therefore, Bash scripting skills are highly sought-after and can help you advance your automation career.

On this five-week course, you’ll learn Bash shell scripting in detail and understand how to apply the acquired skills confidently in the real world.

You’ll start with introductory topics and finish with a practical exercise of designing a simple digital clock and automating multiple server inventory using shell scripts.

Explore test command and arithmetic operators

You’ll become familiar with arithmetic and redirection operators and explore different commands, including test and grep.

Next, you’ll write a simple script to get to grips with using functions such as echo command, variables, strings, comments, and debugging.

Delve into arrays

You’ll explore more advanced topics such as conditional statements and loops before putting your knowledge into practice and demonstrating how to schedule jobs.

Then, you’ll gain an introduction to arrays and in particular, arrays of Bash shell scripting. With this knowledge, you’ll be able to use arrays as a tool to store multiple pieces of the same type of data.

Understand SED command

In order to master server management, you’ll learn how to log into the remote server from the local server using ssh. Within this, you’ll also learn how to use a shell script to execute commands on different servers.

Finally, you’ll explore SED (stream editor) to understand how to use it as a powerful tool to filter or transform text.

By the end of the course, you’ll have become well-versed in Bash shell scripting and developed the skills to automate repetitive tasks.

This course is designed for anyone interested in Bash shell scripting and developing key skills in automation.

Requirements

This course is designed for anyone interested in Bash shell scripting and developing key skills in automation.

Career Path
  • Identify several different commands.
  • Experiment writing basic bash shell script.
  • Explore arithmetic operators.
  • Discuss conditional statements, functions and arrays.
  • Describe loops and loop control statements.
  • Practice the skills you learned in this course.