From the course: Learning Bash Scripting
Learning Bash scripting - Bash Tutorial
From the course: Learning Bash Scripting
Learning Bash scripting
- [Scott] Bash is a widely used shell on Linux systems and while it's frequently used as an interactive shell, we can also use it to run Bash scripts, which are files that contain Bash code which can be run like a regular program. Bash scripts allow us to incorporate logic, text formatting, and other helpful features into files that we can share with others or which we can use to save ourselves from typing out commands manually whenever we need to run them. I'm Scott Simpson, and in this LinkedIn Learning Course we'll take a look at composing Bash scripts. We'll explore expansions, substitutions, conditional statements, and user interaction. We'll also explore control structures like loops, how to interact with text files and more. Whatever your role in working with Linux, understanding Bash scripts is an important foundational skill. Let's go.