This roadmap takes you through Linux in a deliberate order. You start with what Linux is and a safe practice setup, then build command line fluency with files, text tools, users and permissions, processes and packages. From there you move to shell customization, Bash scripting, networking, storage, systemd, troubleshooting and real server deployments, and you finish with kernel internals.
Each part builds on the one before it, and every article is a focused answer to one practical question, such as how to use chmod, read journalctl output or set up an Nginx reverse proxy. Work through the articles in order and run each command yourself on a virtual machine, WSL2 or a spare Ubuntu install.
This roadmap suits anyone who wants to use Linux confidently, from a first-time user to someone preparing to administer servers. No prior Linux experience is needed, and the later parts go deep enough for working engineers.
- Students and career changers who want a structured path into Linux and system administration.
- Developers who deploy to Linux servers and want to understand what runs underneath.
- Windows or macOS users moving to Ubuntu, Debian, Fedora or RHEL-based systems.
- Aspiring DevOps, cloud and site reliability engineers who need solid Linux foundations.
- IT staff who maintain servers and want to fill gaps in networking, storage or systemd.
- Set up a practice environment first using the virtual machine, dual boot or WSL2 articles in the opening part, so you can break things safely.
- Study the parts in order and read each article with a terminal open, typing every command instead of copying it.
- After each article, repeat the task on your own with different files, users or options until you no longer need the article.
- At the end of each part, combine what you learned in a small project, such as a backup script, a new user with restricted access or a working Nginx site.
- Keep a personal cheat sheet of commands and flags, and use
man pages to check details beyond what the articles cover.
- Return to earlier articles when a later topic, such as LVM or systemd, relies on a concept you have forgotten.
This part explains what Linux, distributions and the kernel are, and how Linux differs from Windows. You set up a safe practice environment with a virtual machine, dual boot or WSL2, then learn the shell, prompt, help system, shortcuts and tab completion. Afterwards you can open a terminal and work in it with confidence.
- What Is Linux and How Is It Different from Windows?
- What Is a Linux Distribution and How Do You Pick One?
- What Is the Linux Kernel and What Does It Do?
- How to Install VirtualBox on Ubuntu (22.04, 24.04 and Later)
- How Do You Install Ubuntu in a Virtual Machine?
- How Do You Dual Boot Ubuntu with Windows Safely?
- How Do You Run Linux on Windows with WSL2?
- What Is a Shell and How Is It Different from a Terminal?
- How Do You Open and Use the Terminal in Ubuntu?
- How Do You Read the Shell Prompt in Linux?
- How Do You Get Help with man Pages and --help in Linux?
- Ubuntu Keyboard Shortcuts: Desktop, Windows and Terminal
- How Do Tab Completion and Command History Work in Bash?
You learn the Linux directory layout and how to move around with absolute and relative paths. This part covers creating, copying, moving and deleting files, hidden files, wildcards, links, searching with find and locate, disk usage, and archiving with tar and compression tools. After it you can manage any filesystem from the command line.
- Understanding the Ubuntu File System Directory Layout
- How Do You Use pwd and cd to Navigate Directories in Linux?
- Absolute vs Relative Path in Linux: What Is the Difference?
- How to Use the ls Command in Linux and Its Options
- How to Create Files and Directories with touch and mkdir
- How to Copy Files and Folders with the cp Command in Linux
- How to Move and Rename Files with the mv Command in Linux
- How to Delete Files and Directories Safely with rm in Linux
- What Are Hidden Files and Dotfiles in Linux?
- How Do Wildcards and Globbing Work in the Linux Shell?
- What Is the Difference Between Hard Links and Symbolic Links?
- How Do You Find Files with the find Command in Linux?
- How Do You Search Files Instantly with locate and updatedb?
- How Do You Check Disk Usage with df and du in Linux?
- How Do You Inspect File Details with stat and file Commands?
- How Do You Find a Command with which, whereis and type?
- How Do You Create and Extract tar Archives in Linux?
- How Do You Compress Files with gzip, bzip2, xz and zip?
Here you learn to view and edit text with less, nano and Vim, and to control input and output with redirection and pipes. You then use grep, sed, awk, cut, sort, xargs and tr to filter and transform data. You finish able to build powerful one-line commands for logs and data files.
- How Do You View File Contents with cat, less and more?
- How Do You Use head and tail to Read Parts of a File?
- How Do You Watch a Log File Live with tail -f?
- How Do You Edit Files in the Terminal with nano?
- How Do You Use Vim: Modes, Saving and Quitting for Beginners?
- How Do You Search, Replace and Navigate Text Quickly in Vim?
- What Are Standard Input, Output and Error in Linux?
- How Does Output Redirection with > and >> Work in Linux?
- How Do Pipes Connect Commands Together in the Linux Shell?
- How Do You Count Lines and Words with the wc Command?
- How Do You Sort and Remove Duplicates with sort and uniq?
- How Do You Extract Columns with the cut Command?
- How Do You Search Text with grep in Linux?
- How Do You Use Regular Expressions with grep and egrep?
- How Do You Find and Replace Text with the sed Command?
- How Do You Process Columnar Data with awk in Linux?
- How Do You Compare Two Files with diff and patch?
- How Does xargs Turn Command Output into Arguments?
- How Do You Save and Display Output at Once with tee?
- How Do You Translate and Delete Characters with the tr Command?
This part covers how Linux identifies users, stores accounts in /etc/passwd and /etc/shadow, and manages groups. You read and change permissions with chmod, chown and umask, use sudo and visudo safely, and learn setuid, setgid, the sticky bit, ACLs and password aging. You can then secure access to files and accounts correctly.
- How Do You Check the Current User with whoami, id and who?
- What Do the Files /etc/passwd and /etc/shadow Contain?
- How Do You Add and Delete Users with useradd and userdel?
- How Do You Change a User Password with the passwd Command?
- How Do You Create and Manage Groups in Linux?
- How Do You Modify Existing Users with the usermod Command?
- How Do You Read Linux File Permissions like rwxr-xr-x?
- How Do You Change Permissions with chmod: Numeric and Symbolic?
- How Do You Change File Ownership with chown and chgrp?
- What Is umask and How Does It Set Default Permissions?
- How Do You Run Commands as Root with sudo Safely?
- How Do You Edit the sudoers File Safely with visudo?
- What Is the Difference Between su and sudo in Linux?
- What Are setuid, setgid and the Sticky Bit in Linux?
- How Do You Use POSIX ACLs with setfacl and getfacl?
- How Do You Enforce Password Aging and Lock Accounts with chage?
You learn what processes and signals are, and how to inspect and control them with ps, top, kill, job control, nohup and tmux. This part also covers memory, load average, /proc, lsof, zombies, scheduling with cron and at, and tracing with strace. After it you can see what a machine is doing and manage it.
- What Is a Process in Linux and How Does It Differ from a Program?
- How Do You List Running Processes with the ps Command?
- How Do You Monitor System Activity with top and htop?
- How Do You Stop a Process with kill, pkill and killall?
- What Are Linux Signals like SIGTERM, SIGKILL and SIGHUP?
- How Do You Run Jobs in the Background with bg, fg and &?
- How Do You Keep Commands Running After Logout with nohup?
- How Do You Use tmux to Manage Persistent Terminal Sessions?
- How Do You Set Process Priority with nice and renice?
- How Do You Check Memory Usage with free and vmstat?
- What Does Load Average Mean in Linux and How Do You Read It?
- What Is the /proc Filesystem and What Can It Show You?
- How Do You Find Open Files and Ports with lsof?
- What Are Zombie and Orphan Processes in Linux?
- How Do You Schedule Recurring Tasks with cron and crontab?
- How Do You Run a One-Time Job with the at Command?
- How Do You Trace System Calls of a Process with strace?
This part teaches software installation on the main Linux families: apt and dpkg for Debian and Ubuntu, dnf, yum and rpm for RHEL and Fedora, plus Snap and Flatpak. You also handle PPAs, repository signing keys, building from source and automatic security updates. You can then install, update and remove software reliably.
- How Does the apt Package Manager Work in Ubuntu and Debian?
- What Is the Difference Between apt update and apt upgrade?
- Kali Linux Update and Upgrade Commands (apt full-upgrade)
- How Do You Search and Inspect Packages with apt search and show?
- How Do You Remove Packages with apt remove, purge and autoremove?
- How Do You Install and Inspect .deb Files with dpkg?
- How Do You Add and Remove a PPA in Ubuntu?
- How Do Apt Repositories and GPG Signing Keys Work?
- How Do You Use yum and dnf on RHEL, CentOS and Fedora?
- How Do You Query and Install Packages with the rpm Command?
- How Do You Install and Manage Snap Packages in Ubuntu?
- How Do You Use Flatpak to Install Desktop Apps on Linux?
- How Do You Build and Install Software from Source with make?
- How Do You Set Up Automatic Security Updates with unattended-upgrades?
- How to Install ffmpeg on CentOS 7 (Static Build)
You configure environment variables, PATH, startup files such as .bashrc and .profile, aliases and the PS1 prompt. This part also covers timezone and locale, Zsh with Oh My Zsh, managing dotfiles with Git, and command substitution and brace expansion. Afterwards your shell is set up the way you want and is easy to reproduce.
- What Are Environment Variables and How Do You Set Them?
- How Does the PATH Variable Work and How Do You Edit It?
- What Is the Difference Between .bashrc, .bash_profile and .profile?
- How Do You Create and Save Command Aliases in Bash?
- How Do You Customize the Bash Prompt with PS1?
- How Do You Change the System Timezone and Locale in Linux?
- How Do You Set Up Zsh and Oh My Zsh on Linux?
- How Do You Manage Your Dotfiles with Git?
- How Do You Use Command Substitution and Brace Expansion in Bash?
You write Bash scripts from the shebang line to functions, covering variables, quoting, input, arguments, conditions, case, loops, arrays and string handling. This part then teaches exit codes, set -euo pipefail, trap, getopts, here documents, debugging with ShellCheck and a rsync backup script. You can then automate tasks with scripts that fail safely.
- How Do You Write and Run Your First Bash Script?
- What Is a Shebang and Why Does Every Script Need One?
- How Do Variables and Quoting Work in Bash Scripts?
- How Do You Read User Input with the read Command in Bash?
- How Do You Use Command Line Arguments like $1 and $@ in Bash?
- How Do You Write if else Conditions in Bash?
- How Do You Test Files and Strings with test and (( )) in Bash?
- How Do You Use case Statements in Bash Scripts?
- How Do for and while Loops Work in Bash?
- How Do You Write and Call Functions in Bash?
- How Do Arrays and Associative Arrays Work in Bash?
- What Are Exit Codes and How Do You Use $? in Bash?
- How Do You Manipulate Strings and Parameter Expansion in Bash?
- What Does set -euo pipefail Do in a Bash Script?
- How Do You Handle Signals and Cleanup with trap in Bash?
- How Do You Parse Options with getopts in Bash Scripts?
- How Do You Debug Bash Scripts with set -x and ShellCheck?
- How Do You Write a Backup Script with Bash and rsync?
- How Do You Use Here Documents and Here Strings in Bash?
This part covers inspecting interfaces, testing connectivity, DNS, curl, wget, static IPs with Netplan, NetworkManager and routing. You learn SSH in depth, including keys, client config, hardening and tunnels, plus scp and rsync. It ends with firewalls (ufw, iptables, nftables, firewalld), tcpdump, nmap and WireGuard, so you can configure and diagnose networks.
- How Do You Check IP Address and Interfaces with the ip Command?
- How Do You Test Connectivity with ping and traceroute?
- How Do You List Open Ports and Connections with ss and netstat?
- How Do You Query DNS Records with dig and nslookup?
- How Do You Make HTTP Requests from the Terminal with curl?
- How Do You Download Files with wget in Linux?
- How Do /etc/hosts and /etc/resolv.conf Control Name Resolution?
- How Do You Set a Static IP Address with Netplan in Ubuntu?
- How Do You Manage Connections with nmcli and NetworkManager?
- How Does Routing Work and How Do You View the Routing Table?
- How Do You Connect to a Remote Server with SSH?
- How Do You Set Up SSH Key-Based Authentication?
- How Do You Configure the SSH Client with ~/.ssh/config?
- How Do You Harden sshd: Disable Root Login and Passwords?
- How Do You Create SSH Tunnels and Port Forwards?
- How Do You Copy Files Between Servers with scp and rsync?
- How Do You Configure a Firewall with ufw in Ubuntu?
- How Do iptables Chains and Rules Work in Linux?
- How Do You Use nftables as the Modern Replacement for iptables?
- How Do You Manage a Firewall with firewalld on CentOS and RHEL?
- How Do You Capture Network Packets with tcpdump?
- How Do You Scan Ports and Hosts with nmap?
- How Do You Set Up a WireGuard VPN on Linux?
You learn to list disks, partition them, create ext4 and XFS filesystems, mount them and make mounts permanent through /etc/fstab. This part adds swap, inodes, fsck, LVM, software RAID with mdadm, LUKS encryption, NFS and Samba. After it you can add, grow, protect and share storage on a server.
- How Do You List Disks and Partitions with lsblk and blkid?
- How Do You Partition a Disk with fdisk and parted?
- How Do You Format a Partition with mkfs: ext4 vs XFS?
- How Do You Mount and Unmount Drives in Linux?
- How Does /etc/fstab Mount Filesystems Automatically at Boot?
- How Do You Create and Enable Swap Space in Linux?
- What Are Inodes in Linux and Why Do You Run Out of Them?
- How Do You Check and Repair a Filesystem with fsck?
- What Is LVM and How Do You Create Logical Volumes?
- How Do You Extend a Logical Volume and Resize Its Filesystem?
- How Do You Build Software RAID with mdadm?
- How Do You Encrypt a Disk with LUKS and cryptsetup?
- How Do You Share Directories over the Network with NFS?
- How Do You Share Files with Windows Using Samba on Linux?
This part explains systemd, the boot process from firmware to login, and GRUB. You manage services with systemctl, write unit files and custom services, use drop-ins, targets, timers and journalctl, and limit resources. You also learn to analyze slow boots and reset a forgotten root password.
- What Is systemd and How Is It Different from SysV Init?
- How Does the Linux Boot Process Work from BIOS to Login?
- How Do You Start, Stop and Enable Services with systemctl?
- How Do You Read and Write systemd Unit Files?
- How Do You Create a Custom systemd Service for Your App?
- How Do You Override a Unit with systemctl edit Drop-In Files?
- What Are systemd Targets and How Do They Replace Runlevels?
- How Do You Read Service Logs with journalctl?
- How Do You Schedule Jobs with systemd Timers Instead of cron?
- How Do You Find Slow Boot Causes with systemd-analyze?
- What Is GRUB and How Do You Edit Its Boot Options?
- How Do You Reset a Forgotten Root Password in Linux?
- How Do You Limit Service CPU and Memory with systemd Resource Controls?
You learn which logs live in /var/log, how to rotate them with logrotate, read kernel messages with dmesg and forward logs with rsyslog. This part covers performance measurement with iostat and sar, finding why a server is slow, OOM kills, full disks and Prometheus Node Exporter. You can then diagnose common production problems methodically.
- What Is in /var/log and Which Log Files Matter Most?
- How Do You Rotate and Compress Logs with logrotate?
- How Do You Read Kernel Messages with dmesg?
- How Do You Measure Disk and CPU Performance with iostat and sar?
- How Do You Find Out Why a Linux Server Is Slow?
- What Is the OOM Killer and Why Did Linux Kill My Process?
- How Do You Find What Is Filling the Disk on a Linux Server?
- How Do You Monitor a Linux Server with Prometheus Node Exporter?
- How Do You Send Server Logs to a Remote Host with rsyslog?
This part applies the earlier skills to real deployments: Nginx and Apache, reverse proxies, Let's Encrypt certificates, LEMP, MySQL, PostgreSQL, Node.js apps and Docker. It also covers Fail2ban, a first-steps hardening checklist, SELinux and AppArmor, Postfix, Ansible, sysctl and EC2. You can then deploy and secure a server end to end.
- How Do You Install and Configure Nginx on Ubuntu?
- How Do You Host Multiple Sites with Nginx Server Blocks?
- How Do You Set Up Nginx as a Reverse Proxy?
- How Do You Install Apache and Create Virtual Hosts on Ubuntu?
- How Do You Get a Free SSL Certificate with Let's Encrypt and Certbot?
- How Do You Set Up a LEMP Stack on Ubuntu?
- How Do You Install and Secure MySQL on a Linux Server?
- How Do You Install PostgreSQL on Ubuntu and Create a Database?
- How Do You Deploy a Node.js App on Linux with systemd and Nginx?
- How Do You Install Docker on Ubuntu and Run Your First Container?
- How Do You Block Brute-Force Logins with Fail2ban?
- How Do You Secure a New Linux Server: A First 10 Steps Checklist?
- What Are SELinux and AppArmor and How Do They Protect a Server?
- How Do You Set Up a Postfix Mail Server on Linux?
- How Do You Automate Server Setup with Ansible?
- How Do You Tune Kernel Parameters with sysctl?
- How Do You Run Linux on an AWS EC2 Instance and Connect to It?
You go under the hood with kernel modules, compiling a custom kernel, initramfs, namespaces, cgroups and capabilities, which are the foundations of containers. This part also covers profiling with perf, eBPF observability, KVM and libvirt virtualization, and high availability with keepalived and VRRP. You finish understanding how Linux works internally.
- How Do You List, Load and Remove Kernel Modules?
- How Do You Compile and Install a Custom Linux Kernel?
- What Are Linux Namespaces and How Do Containers Use Them?
- What Are cgroups and How Do They Limit Resources?
- What Are Linux Capabilities and How Do They Replace Root?
- How Do You Profile Linux Performance with perf?
- What Is eBPF and How Is It Used for Linux Observability?
- How Do You Use initramfs and Rebuild It When Boot Fails?
- How Do You Run Virtual Machines with KVM and libvirt?
- How Do You Build High Availability with keepalived and VRRP?
Basic command line skills take two to four weeks of regular practice. Reaching comfortable system administration, including scripting, networking and services, typically takes three to six months of steady study with hands-on practice.
No. The roadmap begins with the terminal and basic commands, and the Shell Scripting part teaches Bash from scratch. Basic computer literacy is enough to begin.
Ubuntu is a good default because most articles use it and it has wide community support. The package management articles also cover dnf, yum and rpm, so you will recognize RHEL, CentOS and Fedora systems too.
Yes. You can run Ubuntu in a virtual machine, dual boot it, or use WSL2 on Windows. The first part walks through each option so you can pick the one that suits your hardware.
Build and run a real project, such as a hosted website with HTTPS and backups. Then move on to containers and orchestration, configuration management with Ansible, cloud platforms, or a Linux certification such as RHCSA or LPIC.
This roadmap covers Linux in 15 parts, from installing and using the terminal through files, text processing, permissions, processes, packages, scripting, networking, storage, systemd, troubleshooting, server deployment and kernel internals, all in a clear study order.