Packt
Learn Bash Shell Scripting for Automation
Packt

Learn Bash Shell Scripting for Automation

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

24 hours to complete
3 weeks at 8 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

24 hours to complete
3 weeks at 8 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Set up and configure a Bash scripting environment on Windows using WSL and CentOS.

  • Automate system administration tasks with variables, loops, and conditional statements.

  • Create modular scripts using functions for reusable and efficient code.

  • Manage remote servers and interact with REST APIs using Bash scripts.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

July 2025

Assessments

23 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 23 modules in this course

In this module, we will introduce you to the course’s content and goals. You will understand the foundational knowledge required and discover who can most benefit from mastering Bash shell scripting for automation.

What's included

3 videos1 reading

In this module, we will guide you through setting up your scripting environment for maximum efficiency. You will learn to install Linux systems, configure essential tools, and write your first Bash scripts to jumpstart your automation journey.

What's included

10 videos1 assignment1 plugin

In this module, we will cover the fundamental mechanics of how Bash scripts run and how to efficiently organize multiple commands using semicolons, setting a solid foundation for scripting.

What's included

2 videos1 assignment1 plugin

In this module, we will explore variables in Bash scripting—what they are, how to define them correctly, and how to control their values to make your scripts dynamic and flexible.

What's included

5 videos1 assignment1 plugin

In this module, we will master how Bash scripts take inputs and display outputs. You will learn essential commands and methods to make your scripts interactive and user-friendly.

What's included

11 videos1 assignment1 plugin

In this module, we will cover the essential techniques to manipulate text and file paths, enabling you to handle and transform string data efficiently in your automation tasks.

What's included

2 videos1 assignment1 plugin

In this module, we will focus on arrays as powerful data structures for storing and processing multiple values, enhancing your scripts’ capability to manage complex data sets.

What's included

4 videos1 assignment1 plugin

In this module, we will introduce you to Bash dictionaries, enabling efficient storage and retrieval of data with meaningful keys for advanced scripting scenarios.

What's included

1 video1 assignment1 plugin

In this module, we will deepen your command-line expertise, equipping you with crucial tools and techniques to manipulate data, control input/output, and execute commands dynamically.

What's included

12 videos1 assignment1 plugin

In this module, we will teach you how to combine commands smartly to create efficient and controlled script workflows using Bash’s chaining operators.

What's included

9 videos1 assignment1 plugin

In this module, we will cover decision-making in scripts, empowering you to create robust scripts that respond intelligently to different conditions and errors.

What's included

4 videos1 assignment1 plugin

In this module, we will apply your learned skills through practical scripting exercises to reinforce file manipulation and system automation.

What's included

2 videos1 assignment1 plugin

In this module, we will expand your control flow skills with advanced conditional constructs to make your scripts versatile and intelligent.

What's included

4 videos1 assignment1 plugin

In this module, we will teach you how to automate task scheduling in Linux, enabling unattended execution of scripts for routine maintenance.

What's included

2 videos1 assignment1 plugin

In this module, we will focus on best practices for documenting and monitoring your scripts to ensure maintainability and troubleshoot issues efficiently.

What's included

1 video1 assignment1 plugin

In this module, we will teach you how to write reusable, modular code blocks with functions to streamline complex scripting tasks.

What's included

6 videos1 assignment1 plugin

In this module, we will introduce techniques to embed and manipulate multiline text, simplifying complex input scenarios in your scripts.

What's included

1 video1 assignment1 plugin

In this module, we will master repetitive task automation through various loop types, enabling powerful script logic and user interaction.

What's included

12 videos1 assignment1 plugin

In this module, we will introduce you to interacting with web services via REST APIs, expanding your automation to networked resources.

What's included

1 video1 assignment1 plugin

In this module, we will guide you through automating operations on remote systems, enhancing your scripting capabilities for distributed environments.

What's included

5 videos1 assignment1 plugin

In this module, you will implement real-world automation scripts that enhance system reliability and operational awareness.

What's included

4 videos1 assignment1 plugin

In this module, we will unlock the power of pattern matching to enable sophisticated text processing and decision-making in your scripts.

What's included

4 videos1 assignment1 plugin

In this module, we will teach you how to control script output appearance with the versatile printf command for professional scripting results.

What's included

1 video2 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
756 Courses157,214 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions