Stage 1 · Foundation

Linux & The
Command Line

Your very first step into DevOps — a plain-English guide to getting comfortable with Linux, the terminal, and the tools every server in the world runs on.

Updated May 2025  ·  7-Stage Deep Dive  ·  3–4 Week Journey

Why Linux? Over 96% of the world's servers run Linux. Every cloud platform, every Docker container, and every DevOps pipeline assumes you know it. The good news: you don't need to become a Linux expert overnight. You just need to reach a level where the terminal feels like a tool, not a mystery. That's exactly what this roadmap gives you.

Think of the command line as texting with your computer — instead of clicking buttons, you type short instructions and the computer listens. It's faster, more powerful, and once it clicks, you'll wonder how you ever lived without it.

Your 7-Stage Linux Roadmap
1
Install Linux & Open a Terminal Day One

Before you can learn Linux, you need to run it. The easiest way is to install Ubuntu — the most beginner-friendly Linux version — inside a free tool called VirtualBox. This lets you run Linux on your existing Windows or Mac computer without changing anything. Install it, open the terminal (the black box with a blinking cursor), and type your first command: ls. Congratulations — you're in.

Ubuntu 24.04 LTS VirtualBox (free) WSL2 (Windows users) Terminal / Bash
2
Navigate the File System Core Skill

Linux organises everything into folders, just like Windows or Mac — but you move around using text commands instead of clicking. Learn to list what's in a folder, move into it, go back up, and figure out where you are. These four commands — ls, cd, pwd, and mkdir — are the foundation of everything else.

ls, cd, pwd mkdir, rmdir Absolute vs relative paths Hidden files (.dotfiles)
3
Create, Edit & Manage Files Daily Use

Learn to create files, view their contents, copy them, move them, and delete them — all from the terminal. Then learn to edit files using a text editor called nano (beginner-friendly) or eventually vim (powerful, but has a learning curve). Also learn about file permissions: in Linux, every file has rules about who can read, write, or run it — and you'll need to change those rules often.

touch, cp, mv, rm cat, less, head, tail nano / vim chmod, chown File permissions (rwx)
4
Users, Processes & Installing Software System Control

Linux is a multi-user system. Learn the difference between a regular user and a superuser (sudo — like "admin mode"). Learn how to install and remove software using apt (Ubuntu's package manager — think of it as an app store for the terminal). Also learn to see what programs are currently running, and how to stop one that's misbehaving.

sudo apt install / remove ps, top, htop kill / killall User management
5
Networking Basics & SSH Connect Remotely

In DevOps, you'll almost never physically sit in front of a server — you'll connect to it remotely over the internet using a tool called SSH. It's like a secure phone call between your laptop and a server anywhere in the world. Learn how to check your machine's IP address, ping another server to test connectivity, and use SSH to log into a remote machine. This is the gateway to working in the real cloud.

SSH (ssh command) SSH keys (safer than passwords) ping, curl, wget ifconfig / ip addr SCP (copy files remotely)
6
Write Your First Bash Scripts Automate It

A Bash script is just a text file full of terminal commands that run one after another — like a to-do list your computer follows automatically. Start simple: write a script that creates a backup of a folder, or one that checks if a website is online and tells you. Variables, if/else conditions, and loops are the building blocks. Once you can write basic scripts, you've crossed the line from "Linux user" to "Linux automator."

#!/bin/bash (shebang) Variables & conditionals for / while loops Functions Cron jobs (scheduled tasks)
7
Power Tools: Search, Pipes & Grep Work Faster

The final level of Linux fluency is knowing how to chain commands together and search through things quickly. The pipe character (|) lets you feed the output of one command into another — like an assembly line. grep searches through text like Ctrl+F on steroids. These tools turn you into someone who can navigate and debug any Linux system with confidence.

grep / grep -r Pipes ( | ) find & locate awk & sed (basics) Redirects (> and >>)

Realistic Timeline (1 Hour a Day)

Day 1–3
Day 4–7
Day 8–12
Day 13–17
Day 18–21
Day 22–26
Day 27–30
Install Navigate Files Users SSH Scripts Power Tools ✓
4 Rules to Learn Linux Fast
⌨️
Type Every Command

Don't copy-paste commands when learning. Type them out manually, even if it's slower. Your fingers need to learn this too — muscle memory is real.

💥
Break Things on Purpose

Use your virtual machine as a sandbox. Delete things, mess up permissions, crash it. That's how you learn to fix things — and a VM means nothing real is at risk.

📖
Use the Manual

Every Linux command has built-in help. Type man ls or ls --help to see exactly what it does. The answer is usually already on your machine.

🎯
Build a Mini Project

Write a script that automates something you actually do — rename files, check disk space, or send yourself an alert. A real problem makes learning stick faster than any tutorial.

"

The terminal looks scary the first time. It looked scary to every DevOps engineer who came before you, too. The secret is simple: use it every single day, even for small things. Open a terminal instead of a file manager. Use SSH instead of clicking into a server. Within a month, it becomes your fastest tool.

Master Linux, and the rest of DevOps becomes 10x easier.