Weekly study3 hours
Introduction to Bash Script Automation
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.
Learning on this course
On every step of the course you can meet other learners, share your ideas and join in with active discussions in the comments.
What will you achieve?
By the end of the course, you‘ll be able to...
- 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.
Who is the course for?
This course is designed for anyone interested in Bash shell scripting and developing key skills in automation.
Do you know someone who'd love this course? Tell them about it...
Learners who joined this course have also enjoyed these courses.