technifyed

Packt via Coursera

Linux Shell Scripting - Advanced

Overview

Updated in May 2025.

This course now features Coursera Coach!

A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course.

In this course, you will learn how to enhance your shell scripting skills with advanced techniques that will empower you to write powerful and efficient scripts. You’ll master functions, libraries, graphical scripting, and the use of advanced tools like sed, awk, and Regular Expressions (RegEx) to manipulate data and automate complex tasks.

The course starts by introducing you to functions and libraries in bash scripting, where you'll learn how to create reusable code and modularize your scripts. You will explore local vs. global variables, and how to return values from functions to make your scripts more dynamic. Then, we dive deep into sed and awk, two critical tools for text processing and data manipulation. From basic substitution to complex multi-line edits, you will become proficient in using these tools to handle text data with precision.

Next, we cover the power of Regular Expressions (RegEx) for pattern matching and text transformation. This section will equip you with the ability to build advanced search and replace operations, making your scripts highly flexible and efficient. You will then delve into graphical user interface (GUI) scripting, learning how to create interactive scripts that engage users with text-based or graphical menus.

The course is aimed at intermediate to advanced learners who are already familiar with basic shell scripting. It will benefit system administrators, developers, and anyone looking to enhance their scripting capabilities. No prior experience with GUI scripting or advanced sed/awk is required, but a solid understanding of bash scripting fundamentals is recommended.

Syllabus 6

  1. Functions and Libraries 40 minutes

    In this module, we will delve into advanced concepts of bash scripting by focusing on Functions and Libraries. You will gain a deeper understanding of defining and using functions, managing variables within them, and creating a library of reusable functions to enhance the efficiency and readability…

  2. sed and awk 2.5 hours

    In this module, we will dive into the powerful tools sed and awk to enhance your scripting capabilities. You'll learn the fundamentals of sed, including substitution, deletion, and text manipulation, as well as how to format and process data using gawk. By the end of this module, you'll be able to…

  3. RegEx 1.5 hours

    In this module, we will explore the intricacies of Regular Expressions (RegEx) and their application within sed and gawk. You'll gain a solid foundation in RegEx syntax, including special characters and character classes, and progress to more advanced concepts like negation, ranges, and expression…

  4. GUI Scripting 1.5 hours

    In this module, we will focus on writing graphical scripts that improve user interaction within your shell scripts. You'll start by creating text-based menus for user input and progress to using the "dialog" program and its widgets to build more professional, visually engaging scripts. We will also…

  5. Advanced sed 1.5 hours

    In this module, we will explore advanced features of sed, focusing on multi-line commands and the powerful "Hold Space" for text manipulation. You will learn how to use commands like multi-line Next, Delete, and Print to handle complex text processing tasks. Additionally, we will cover command nega…

  6. Advanced gawk 3.5 hours

    In this module, we will delve into the advanced features of gawk to enhance your scripting skills. You'll explore variable types, including built-in and user-defined variables, and learn to work with arrays for data organization. Additionally, you'll learn to use structured commands like conditiona…

Advantages and disadvantages

Advantages

  • Structured courses with graded quizzes, assignments and deadlines you can reset.
  • A shareable certificate from the university or company when you pay.
  • Financial aid is often approved for students in India (apply 15 days before you need it).
  • Covers niche tools that universities don't teach.
  • Self-paced: start any time.
  • A clear syllabus (6 parts) you can see before you start.

Disadvantages

  • Paid after a 7-day free trial (Coursera Plus or per course).
  • Some courses can be audited for free, but graded work and certificates need payment.
  • Many courses are produced quickly from slides and screen recordings; read the reviews first.

Some points apply to every course of this kind; see how we rank.

This course is paid. Here is how to take it for free

  • Free trials: You can start a 7-day free trial for many individual courses, Specializations, or a Coursera Plus subscription to test full course features. Cancel before the seventh day if you do not want to be charged.
  • Financial aid: If you cannot afford the fee for a certificate, you can apply for financial aid through the link on the course home page by filling out an application about your background and goals.

Taught by

  • Packt - Course Instructors

Packt is in Tier 5: mass-produced or unclear of our institution ranking (40/100). Thousands of courses turned out quickly; check reviews first.

Similar courses

Compare these

Massachusetts Institute of Technology · YouTube

MIT 6.01SC Introduction to EECS I

Instructor: Dennis Freeman, Kendra Pugh This course provides an integrated introduction to electrical engineering and computer science, including modern software engineering, linear systems analysis, electronic circuits, and decision-making. The lecture videos provide an overview of each topic, whi…

Free video27 videos, 17 hours

Harvard University · edX

Fundamentals of TinyML

4.567 ratings

Focusing on the basics of machine learning and embedded systems, such as smartphones, this course will introduce you to the “language” of TinyML.

Free to audit5 weeks, 2 - 4 hours per week

Harvard University · edX

Introduction to Data Science with Python

4.3174 ratings

Learn the concepts and techniques that make up the foundation of data science and machine learning.

Free to audit8 weeks, 3 - 5 hours per week

Harvard University · edX

CS50's Introduction to Computer Science

An introduction to the intellectual enterprises of computer science and the art of programming.

Free to audit12 weeks, 5 - 14 hours per week

Harvard University · edX

Data Science: Building Machine Learning Models

4.4133 ratings

Build a movie recommendation system and learn the science behind one of the most popular and successful data science techniques.

Free to audit8 weeks, 2 - 3 hours per week

Harvard University · edX

CS50's Introduction to Programming with Python

An introduction to programming using Python, a popular language for general-purpose programming, data science, web programming, and more.

Free to audit10 weeks, 3 - 6 hours per week

Enter your email and the official page opens. Phone is optional.