Command Palette

Search for a command to run...

Hectal
Phase 6Intermediate7 of 9 in Linux

Shell Scripting

Turn a sequence of commands you keep retyping into a saved, reliable script — variables, conditionals, loops, and functions, all in bash.

Every manual investigation you've done so far — checking a process, tailing a log, restarting a service — becomes something you can automate once you know how to write a shell script. This phase covers the core building blocks of bash scripting: variables, conditionals, loops, functions, and the error-handling habits that separate a fragile one-off script from one you can actually trust to run unattended.

0/4 · 0%
4 topics ~56 min 8 code blocks & diagrams
Start with the first topic