Learning Bash Scripting

Go to class
Write Review

Free Online Course: Learning Bash Scripting provided by LinkedIn Learning is a comprehensive online course, which lasts for 2-3 hours worth 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. Learning Bash Scripting is taught by Scott Simpson.

Overview
  • Get a fast-paced introduction to Bash script, a popular shell scripting language.

Syllabus
  • Introduction

    • Learning Bash scripting
    1. Using Bash
    • What's Bash?
    • Pipes and redirections
    • Bash builtins and other commands
    • Brackets and braces in Bash
    • Bash expansions and substitutions
    • Brace expansion
    • Parameter expansion
    • Command substitution
    • Arithmetic expansion
    2. Programming with Bash
    • Choosing a text editor for Bash scripting
    • Understanding Bash script syntax
    • Displaying text with echo
    • Working with variables
    • Working with numbers
    • Comparing values with test
    • Comparing values with extended test
    • Formatting and styling text output
    • Formatting output with printf
    • Working with arrays
    • Challenge: Make a script that generates a system report
    • Solution: Make a script that generates a system report
    3. Bash Control Structures
    • Conditional statements with the if keyword
    • Working with while and until loops
    • Introducing for loops
    • Selecting behavior using case
    • Using functions
    • Reading and writing text files
    • Challenge: Build a script using control structures
    • Solution: Build a script using control structures
    4. Interacting with the User
    • Working with arguments
    • Working with options
    • Getting input during execution
    • Ensuring a response
    • Challenge: Make a script that uses input
    • Solution: Make a script that uses input
    5. Bash in the Real World
    • Troubleshooting
    • Ensuring script portability
    Conclusion
    • Next steps