DevOps Starter
roadmap.sh-style view Click any topic or milestone card for free & premium resources
roadmap.sh-style view Click any topic or milestone card for free & premium resources
Overview Docker is an open-source containerization platform that lets you package applications and their dependencies into lightweight, …
Overview Nginx (pronounced engine-x) is one of the world’s most popular open-source web servers. It is also widely used as a reverse …
Why Every DevOps Engineer Needs Real Linux Fundamentals Docker, Kubernetes, Terraform, and CI/CD runners are not separate from Linux — …
Where Do Linux Logs Live? Two systems coexist on most modern distros: flowchart TB subgraph Sources KERNEL[Kernel Messages] …
The Storage Stack, Top to Bottom flowchart TB FS["Filesystem: ext4 / xfs"] --> LV["Logical Volume (LVM)"] LV --> VG["Volume Group"] VG --> …
What Handles Networking on Linux? Networking is implemented inside the kernel’s network stack; user-space tools (ip, curl, ss) just …
What Is systemd? systemd is the init system and service manager used by most modern Linux distributions (RHEL, Ubuntu, Debian, Amazon Linux …
What Happens When a Linux Machine Boots? flowchart TD A["1. Firmware: BIOS/UEFI POST"] --> B["2. Bootloader: GRUB2"] B --> C["3. Kernel …
Managing a Service: systemctl sudo systemctl start nginx # start now sudo systemctl stop nginx # stop now sudo systemctl restart nginx # …
What Is a Process? A process is a running instance of a program — it has its own PID (process ID), memory space, open file descriptors, and …
Overview “Can’t resolve hostname” or intermittent DNS failures are common, and the resolution order Linux actually uses …
Load Average & Uptime uptime # 10:32:01 up 45 days, 2:14, 3 users, load average: 1.25, 0.98, 0.75 The three numbers are load average …
What Are Linux Permissions? Every file and directory carries three permission sets — for the owner, the group, and others — each with read …
Overview Load average is one of the most misunderstood Linux metrics. It’s not a CPU percentage — it’s roughly the average …
Overview A zombie (shown as Z or <defunct> in ps) is a process that has already finished executing but whose exit status hasn’t …
What Are Users and Groups? Every process and file on Linux is owned by a user ID (UID) and a group ID (GID) — numbers, not names. Usernames …
tar: The Standard Archive Tool tar (tape archive) bundles multiple files/directories into a single file — by itself it doesn’t …
Overview “Permission denied” is usually straightforward once you check the right thing — but there are several distinct causes …
Two Major Families flowchart LR subgraph Debian-based APT["apt / apt-get"] --> DPKG["dpkg (.deb files)"] end subgraph "Red Hat-based" …
What Are Linux File Types? Linux recognizes seven file types, all visible through the first character of ls -l’s permission string. …
Overview “Can’t connect to X” can fail at any of several layers — the local network interface, routing, DNS, a firewall …
What Is a File, Really? On Linux, a filename is just a pointer (a directory entry) to an inode — a data structure holding the file’s …
Disk & Filesystem Usage df -h # disk usage per mounted filesystem, human-readable df -hT # + filesystem type (ext4, xfs, tmpfs...) df -i …
Overview A systemctl start fails, or a service that should auto-start on boot never comes up. The fix depends entirely on WHY it failed, …
Interfaces & Addresses ip addr show # all interfaces + their IPs (modern replacement for ifconfig) ip a # short form ip link show # …
What Is the Linux Filesystem? Unlike Windows (C:\, D:\), Linux has one unified tree rooted at /. Every disk, partition, network share, or …
Overview Applications feel slow, but CPU and memory both look fine. The bottleneck is often the disk — either the physical/virtual storage …
You’ve typed commands into a terminal a thousand times. But have you ever stopped to ask what’s actually happening between you …
Permissions: chmod chmod 644 file.txt # owner rw-, group r--, others r-- (standard for files) chmod 755 script.sh # owner rwx, group r-x, …
Viewing Running Processes ps aux # every process on the system, BSD-style ps -ef # every process, standard/POSIX-style ps -ef --forest # …
Let’s talk about the kernel — the part of Linux that does all the unglamorous, absolutely essential work while every application on …
Overview “No space left on device” can mean the disk is genuinely full, the inode table is exhausted (rarer, but df -h …
The Unix Pipeline Philosophy Linux text tools are designed to be small and composable — chained together with | (pipe), where each …
What Is Linux Architecture? Linux architecture describes how the system is layered from raw hardware up to the applications you run, and — …
Overview A process was unexpectedly killed, or the server is grinding to a halt under memory pressure. Linux’s Out-Of-Memory (OOM) …
1 Strictly speaking, what does the word 'Linux' refer to? A A complete operating system including a desktop environment B Only the …
A fast, scannable reference. For explanations and examples behind any of these, see the Linux Commands and Linux Fundamentals sections. …
If you’re getting into DevOps, cloud, or backend engineering, Linux isn’t optional background knowledge — it’s the ground …
Overview CPU pegged at 100% (or a load average far above core count) usually has one of two shapes: a single runaway process, or many …
Navigation pwd # print current working directory cd /var/log # change directory cd - # go back to previous directory cd ~ # go to home …
What Is Bash Scripting? Bash (Bourne Again SHell) is both an interactive shell and a scripting language. A Bash script is just a text file …
Q1 You cannot SSH into your EC2 instance. How do you systematically troubleshoot? Basic Ans: Work through each layer from outside in: Layer …
A comprehensive guide covering real-world scenarios for Linux, Ubuntu, and AWS EC2 interviews. Q1 You launched an EC2 instance but cannot …
Q1 Explain the booting process of Linux. Basic Ans: BIOS/UEFI - Hardware runs Power-On Self Test (POST). BIOS/UEFI finds the bootable …
Who Is This Path For? This path is for absolute beginners — you’ve never used a Linux terminal before, and that’s completely …