YoVDO

Linux System Engineer: Bash Shell Scripting for Automation

Offered By: LinkedIn Learning

Tags

Shell Scripting Courses Bash Courses Linux Courses System Administration Courses Command Line Courses

Course Description

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

Taught by

Grant McWilliams

Related Courses

GitHub & Collaboration
Udacity
Fundamentals of Red Hat Enterprise Linux 9
Red Hat via edX
L'essentiel pour maîtriser Linux
University of Carthage via France Université Numerique
Linux for Developers
Linux Foundation via Coursera
Programming for Data Science with Python
Mode via Udacity