DevOps and Cloud

Linux Roadmap: Step-by-Step Guide for 2026

This Linux roadmap goes from your first terminal commands to files and permissions, users, processes, package management, networking, shell scripting, services, security hardening and the RHCSA or LFCS certifications.

Steps6Time3 to 6 monthsLevelBeginner to job-ready

What is a Linux Administrator?

A Linux administrator installs, configures and maintains Linux servers. They manage users and permissions, keep software updated, monitor performance, automate tasks with scripts and make sure systems are secure and running.

Linux runs most of the world’s servers, nearly all cloud workloads, Android phones, routers and supercomputers. That is why Linux skills sit underneath almost every DevOps, cloud, security and backend job.

How to use this Linux roadmap

Install Linux in a virtual machine, on an old laptop or with WSL on Windows, and use it daily. Typing commands every day is how they stick.

Break things on purpose in a test VM, then fix them. Recovering from your own mistakes teaches more than any tutorial.

1Step 1: Terminal basics

Get comfortable at the command line.

What is it?

This step covers choosing a distribution, opening a terminal and the commands you’ll use every day to move around and work with files.

What to learn

DistributionsThe shellNavigating the file systemWorking with filesGetting help

Use man pages and –help before searching online. Learning to read them is a skill in itself.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
Distributions

Ubuntu, Debian, Fedora, Rocky Linux and others, and how they differ.

The shell

What Bash is and how commands, options and arguments work.

Navigating the file system

pwd, ls, cd and the directory tree from / downwards.

Working with files

cp, mv, rm, mkdir, touch, cat, less, head and tail.

Getting help

man, –help and tldr pages.

Example

bash

cd /var/log
ls -lh | head
tail -n 20 syslog
grep -i error syslog | less

Moves to the log folder, lists files and searches a log for errors.

Practice project: Spend a week doing all your file management from the terminal and keep a cheat sheet of commands you learn.

Helpful resource: Linux Journey

2Step 2: Files, permissions and users

Control who can do what.

What is it?

Linux is a multi-user system. This step covers ownership, permissions, users, groups and sudo.

What to learn

Permissionschmod and chownUsers and groupssudo and rootText editors

Never use chmod 777 to fix a problem. It works by removing all security.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
Permissions

Read, write and execute for owner, group and others, shown as rwx or numbers like 755.

Why it matters: Permission errors are the most common Linux problem beginners hit.

chmod and chown

Changing permissions and ownership of files and folders.

Users and groups

Creating and managing users with useradd, usermod and groups.

sudo and root

Running admin commands safely without logging in as root.

Text editors

Editing config files with nano or vim.

Example

bash

sudo useradd -m -s /bin/bash alice
sudo usermod -aG developers alice
sudo chown -R alice:developers /srv/app
sudo chmod 750 /srv/app

Creates a user, adds her to a group and gives that group access to an app folder.

Practice project: Set up three users and two groups with a shared folder that only one group can write to.

Helpful resource: Ubuntu Server documentation

3Step 3: Processes, packages and services

Run and manage software.

What is it?

This step covers installing software, managing running processes and controlling background services with systemd.

What to learn

Package managersProcessessystemd servicesLogs with journalctlScheduling tasks

When something is slow, start with top or htop. It usually points straight at the problem.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
Package managers

apt on Debian and Ubuntu, dnf on Fedora and RHEL-based systems.

Processes

ps, top, htop, kill and process priorities.

systemd services

Starting, stopping, enabling and checking services with systemctl.

Why it matters: systemd is how almost every modern server runs its software.

Logs with journalctl

Reading service and system logs.

Scheduling tasks

cron jobs and systemd timers for recurring work.

Example

bash

sudo apt update && sudo apt install -y nginx
sudo systemctl enable --now nginx
systemctl status nginx
journalctl -u nginx --since "1 hour ago"

Installs Nginx, starts it at boot and checks its status and recent logs.

Practice project: Install a web server, set it to start on boot and schedule a nightly backup with cron.

Helpful resource: systemd documentation

4Step 4: Networking and remote access

Connect servers and troubleshoot.

What is it?

Servers live on networks. This step covers IP addresses, DNS, SSH, firewalls and the tools to find out why something can’t connect.

What to learn

IP addresses and portsDNS and name resolutionSSHFirewallsTroubleshooting tools

Turn off password login for SSH and use keys. It is one of the simplest big security wins.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
IP addresses and ports

How hosts and services are addressed, and checking them with ip and ss.

DNS and name resolution

How names become IP addresses, and testing with dig.

SSH

Logging in securely, key-based authentication and copying files with scp or rsync.

Firewalls

ufw or firewalld to allow only the traffic you need.

Troubleshooting tools

ping, curl, traceroute, ss and tcpdump.

Why it matters: A methodical approach finds network problems much faster.

Example

bash

ssh-keygen -t ed25519
ssh-copy-id alice@203.0.113.10
sudo ufw allow OpenSSH
sudo ufw allow 80/tcp
sudo ufw enable

Sets up SSH key login and a basic firewall.

Practice project: Harden SSH on a cloud VM, set up a firewall and document how you’d troubleshoot a site that won’t load.

Helpful resource: DigitalOcean Linux tutorials

5Step 5: Shell scripting and automation

Let scripts do the repetitive work.

What is it?

Bash scripts automate tasks like backups, user setup and health checks. This step covers variables, conditions, loops and error handling.

What to learn

Variables and argumentsConditions and loopsPipes and redirectionText processingError handling

Start every script with set -euo pipefail so it stops on errors instead of carrying on silently.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
Variables and arguments

Storing values and reading input passed to scripts.

Conditions and loops

if, case, for and while for decision making and repetition.

Pipes and redirection

Chaining commands with | and sending output to files.

Text processing

grep, sed, awk, cut and sort for working with logs and files.

Why it matters: These tools make you dramatically faster at the command line.

Error handling

Exit codes, set -e and logging what a script does.

Example

bash

#!/usr/bin/env bash
set -euo pipefail
USAGE=$(df / | awk 'NR==2 {print $5}' | tr -d %)
if [ "$USAGE" -gt 80 ]; then
  echo "Disk at ${USAGE}% on $(hostname)" | mail -s "Disk alert" admin@example.com
fi

A disk space check that sends an alert above 80 percent.

Practice project: Write scripts for backups, user creation and a daily health report, and schedule them.

Helpful resource: Bash Guide (Greg’s Wiki)

6Step 6: Storage, security and certification

Run production servers with confidence.

What is it?

The last step covers disks and storage, system security, performance and the certifications employers recognise.

What to learn

Disks and file systemsLVMSecurity hardeningPerformance monitoringCertifications

Keep a personal runbook of fixes you’ve applied. It becomes invaluable in interviews and on the job.

Learn each topic here

Tap a topic to open a full explanation with examples, no need to go anywhere else.
Disks and file systems

Partitions, mounting, ext4 and XFS, and checking space with df and du.

LVM

Logical volumes that can be resized without reinstalling.

Security hardening

Updates, minimal services, SSH hardening, fail2ban and SELinux or AppArmor basics.

Performance monitoring

CPU, memory, disk and network checks with vmstat, iostat and free.

Certifications

LFCS, RHCSA and CompTIA Linux+.

Why it matters: RHCSA is a practical exam and highly respected by employers.

Example

bash

sudo lvextend -L +10G /dev/vg0/data
sudo resize2fs /dev/vg0/data
df -h /data

Extends a logical volume and file system by 10 GB without downtime.

Practice project: Build a hardened web server with LVM storage, automatic updates and monitoring, then sit LFCS or RHCSA.

Helpful resource: Red Hat RHCSA

Linux roadmap project ideas

Run your projects on a VM or a cheap cloud server. Write a short README for each one explaining the setup and how to rebuild it.

Beginner

Command-line cheat sheet

Your own guide to 60 commands with examples.

Beginner

Home lab VM

A Linux VM with users, groups and shared folders.

Intermediate

Web server setup

Nginx, firewall, SSH keys and HTTPS with Let’s Encrypt.

Intermediate

Automation scripts

Backups, health checks and log rotation scripts.

Advanced

Hardened production server

Security baseline, monitoring and documented runbook.

Advanced

Multi-server lab

Three servers with central logging and SSH automation.

Tips to finish this linux roadmap

  • Use Linux daily. Even 30 minutes a day in the terminal adds up quickly.
  • Read error messages. Linux usually tells you exactly what’s wrong if you read carefully.
  • Learn one editor well. Vim or nano, either is fine, but be fast in one.
  • Script everything you repeat. If you do it twice, write a script.

Career paths and next steps

Linux leads naturally into the DevOps Engineer, Docker and Kubernetes roadmaps.

It is also the base for cloud work (AWS, Azure, Google Cloud), cyber security and site reliability engineering.

Related roadmaps

Linux Roadmap FAQs

Which Linux distribution should I learn first?

Ubuntu is the easiest start. Learn a RHEL-based system such as Rocky Linux too if you aim for enterprise or RHCSA.

Is Linux hard to learn?

The command line feels unfamiliar at first, but most people are comfortable after a few weeks of daily use.

Can I learn Linux on Windows?

Yes. WSL (Windows Subsystem for Linux) or a virtual machine both work well for learning.

Is a Linux certification worth it?

For system admin and DevOps roles, yes. RHCSA and LFCS are practical exams that prove real skills.