Linux Shell Scripting Workshop — Beginners
Learn how to turn Linux commands into small Bash scripts that automate everyday tasks. This beginner-friendly, hands-on workshop starts with the basics and guides you through writing, running, and checking your own scripts.
What you’ll learn
- Create a Bash script and run it from the command line.
- Use comments, variables, and quoted text.
- Display output and accept simple user input.
- Use
ifstatements to make decisions. - Repeat tasks with
forandwhileloops. - Check whether files or commands exist before acting.
- Understand exit codes and basic error messages.
- Find common mistakes and test a script safely.
Hands-on exercises
During the workshop, you’ll build small scripts to:
- Display a welcome message and system information.
- Ask for input and respond to it.
- Check whether a file exists.
- Process a simple list of files.
- Combine commands into a repeatable task.
Who should attend?
Linux beginners, students, and anyone who regularly enters the same commands and wants to start automating them.
Prerequisites
No programming experience is needed. Basic familiarity with opening a Linux terminal and running commands is helpful.
What to bring
A laptop with access to a Linux environment or virtual machine. Workshop lab requirements and schedule will be confirmed before the session.
Ask a question about this workshop or send an enrolment request.