Skip to content
Justice Tech School

Bash Introduction

Bash is the shell on most Linux and macOS systems. A script is a text file of commands that run in order, ideal for automating repetitive tasks. Start a script with #!/bin/bash.

Example
echo "Hello, Bash!"

Result

Hello, Bash!

Exercise

Print text.

 "Hi"

Quiz Test

What is a shell script?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.