Command-Line and DevOps Tutorials

ShellRAG is a free library of 86 in-depth tutorials organised into six learning paths: Bash, PowerShell, Vim, GNU Make, Terraform, and Jenkins. Each path starts from zero and ends with complete, real-world projects — backup and deployment scripts, production Makefiles, a Terraform project on AWS, and a Jenkins pipeline that deploys and rolls back on its own.

Every article is written to be worked through, not skimmed: commands are shown with the output they actually produced, the common mistakes are reproduced with their real error messages, and each article ends with exercises and worked solutions. The testing notes at the bottom of each page name the exact tool versions used.

Why Learn the Command Line?

Graphical interfaces are designed for simplicity, but the command line is designed for power. Here is what you can do once you learn shell scripting:

  • Automate repetitive tasks — rename thousands of files, process log data, deploy applications, and back up systems with a single script
  • Manage servers remotely — SSH into any machine and administer it through text commands, no desktop environment needed
  • Build reproducible workflows — write Makefiles and CI/CD scripts that compile, test, and deploy your code the same way every time
  • Edit code faster — Vim keeps your hands on the keyboard and lets you manipulate text at the speed of thought
  • Boost your career — command-line skills are required for system administration, DevOps, cloud engineering, data engineering, and back-end development roles

Whether you are a student just starting out, a developer looking to level up, or a sysadmin who wants to work smarter, ShellRAG gives you a clear, structured path from first command to advanced automation.

Choose Your Learning Path

🐧 Bash

22 tutorials

Learn Bash from your first command to production scripts: the filesystem, quoting, pipes, grep/sed/awk, scripting, processes, cron, and real deployment tooling.

⚡ PowerShell

20 tutorials

Learn PowerShell 7 and Windows PowerShell: cmdlets, the object pipeline, scripting, error handling, CSV/JSON/XML, REST APIs, parallelism, and real automation scripts.

✏️ Vim

12 tutorials

Learn Vim properly: modes, motions, operators and text objects, search and replace, registers and macros, buffers and windows, configuration, and real-world workflows.

🔧 Makefile

11 tutorials

Learn GNU Make from first rule to real projects: targets and prerequisites, variables, pattern rules, functions, task runners, multi-directory builds, and parallel builds.

🌍 Terraform

10 tutorials

Learn Terraform infrastructure as code: the plan/apply workflow, variables, providers, count and for_each, state, modules, environments, testing, and a real AWS project.

🧩 Jenkins

11 tutorials

Learn Jenkins CI/CD: installation, freestyle jobs, declarative pipelines, credentials, agents, configuration as code, multibranch builds, shared libraries, and deployments.

How ShellRAG Tutorials Work

1

Pick a Topic

Choose Bash, PowerShell, Vim, Make, Terraform, or Jenkins. Each track is a complete, ordered learning path.

2

Follow the Path

Articles are ordered from beginner to advanced, and each one says which earlier articles it builds on.

3

Practice & Build

Run every example, solve the exercises, and apply your skills to real-world automation tasks and projects.

Frequently Asked Questions

Which track should I start with?
If you work on Linux, macOS, servers or containers, start with Bash. If you administer Windows, Microsoft 365 or Azure, start with PowerShell. Vim pairs well with either, because it is the editor you will meet on servers. Make, Terraform and Jenkins build on shell skills, so they are easier once you are comfortable on the command line.
Do I need programming experience?
No. The first articles in the Bash, PowerShell and Vim tracks assume only that you can open a terminal. Each article lists what it builds on and links to the earlier articles you need.
Are the examples tested?
Yes. Commands and their output were run on the tool versions named in each article's testing notes (for example Bash 5.2, PowerShell 7.6, Vim 9.1, GNU Make 4.3, Terraform 1.17 and Jenkins LTS 2.580). Where something could not be run — a macOS-only step or a real cloud account — the article says so.
Are the tutorials free?
Yes. Every tutorial is free to read with no account. The site is supported by advertising, which never influences what is covered or recommended.
Do the articles include exercises?
Every article ends with exercises of increasing difficulty, each with a hidden worked solution, so you can check your understanding before moving on.
I found a mistake. How do I report it?
Please email hello@shellrag.com with the page and what is wrong. Corrections are fixed and re-tested, and the article's date is updated when that happens.