Linux System Engineer: Bash Shell Scripting for Automation

Go to class
Write Review

Free Online Course: Linux System Engineer: Bash Shell Scripting for Automation provided by LinkedIn Learning is a comprehensive online course, which lasts for Less than 1 hour of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. Linux System Engineer: Bash Shell Scripting for Automation is taught by Grant McWilliams.

Overview
  • Learn how to use bash scripting to automate common tasks on Linux.

Syllabus
  • Introduction

    • Bash scripting for automation
    • What you will need
    1. Introduction to Linux Scripting
    • Introduction to bash
    • What makes a shell script a shell script?
    • Using bash debugging mode
    • Bash variable scope
    2. Using Outside Data in a Script
    • Positional arguments
    • Load files using while read
    • Load files into arrays with mapfile
    • Prompt for input
    • Pipe data into a script
    • Process shell options
    3. Outputting Data from a Script
    • Saving data to files
    • Outputting to STDOUT and STDERR
    4. Bash Logic
    • Conditional flow with if, then fi
    • Conditional flow with case
    • Numeric conditions
    • String conditions
    • File conditions
    5. Bash Loops
    • For loop
    • While loop
    6. Real-World Examples
    • Monitoring user space usage
    • Monitoring CPU usage
    Conclusion
    • Next steps