Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Shell Scripting in Linux

Edureka via Coursera

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
This course covers shell scripting with Bash, focusing on how to automate repetitive administrative work and turn sequences of commands into reusable, reliable programs that run on demand or on a schedule. You'll start by writing and executing scripts, using variables, arrays, and string operations to store and manipulate data. You'll then add logic with conditionals, loops, and control flow, and build an automation script that ties these concepts together. The course then moves to modular, maintainable scripting. You'll create functions and work with parameters, parse command-line arguments, validate input, and handle errors so scripts run reliably without supervision. You'll automate routine tasks using cron and at for scheduled execution. It closes with advanced techniques: Bash parameter expansion and manipulation, and text processing with sed and awk, including combining the two tools and debugging scripts. By the end of this course, you will be able to: - Write and execute Bash scripts using variables, arrays, and string operations. - Apply conditionals, loops, and control flow to add logic to scripts. - Build modular scripts using functions and parameters. - Parse command-line arguments and validate input for reliable execution. - Handle errors and debug scripts. - Automate and schedule recurring tasks using cron and at. - Process and transform text data using parameter expansion, sed, and awk. This course is intended for system administrators, DevOps engineers, and developers who want to automate Linux workflows. You should already be comfortable working at the Linux command line. Join us now and learn to write dependable automation and reduce the manual, repetitive parts of working with Linux.

Syllabus

  • Shell Scripting Foundations
    • This module introduces the fundamentals of shell scripting in Linux, helping learners move from running individual commands to writing reusable Bash scripts. Learners explore script creation, execution, variables, arrays, string operations, conditionals, loops, and control flow. The module builds a strong foundation for automating routine command-line tasks and creating simple, structured scripts.
  • Functions, Arguments and Automation
    • This module focuses on writing modular, reusable, and automation-ready Bash scripts. Learners practice creating functions, passing parameters, handling command-line arguments, validating user input, and managing errors. The module also introduces task scheduling with cron and at, enabling learners to automate recurring and one-time Linux administration tasks.
  • Advanced Bash Techniques
    • This module introduces advanced Bash scripting techniques used for efficient automation and text processing. Learners work with parameter expansion, advanced variable manipulation, sed, awk, and combined text-processing workflows. The module also covers debugging and error handling practices that help learners build more reliable, maintainable, and practical Linux scripts.
  • Course Wrap-Up and Assessment
    • This module is designed to evaluate learners’ ability to apply shell scripting concepts in practical automation scenarios. Learners review Bash scripting fundamentals, variables, arrays, conditionals, loops, functions, arguments, input validation, scheduling, text processing, and debugging. Through a roleplay activity, practice project, graded assignment, and summary video, learners demonstrate their ability to build reliable Bash scripts that automate common Linux tasks.

Taught by

Edureka

Reviews

Start your review of Shell Scripting in Linux

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.