Linux Roadmap
This Linux Roadmap is a free, full-text syllabus of 102 lessons in 16 stages, starting with Navigation Basics and ending with Containerization. It suits anyone who wants to learn Linux, whether new to it or filling gaps. There is no fixed length: every lesson is open from the start, so you go at your own pace and skip what you already know.
Last updated
Reading is open to everyone. Sign in to join this roadmap and track what you finish.
Continue learning
1. Navigation BasicsNavigation Basics
0%Navigation Basics
5 topics · 4 sub-topics · 0 completed
The diagram draws the same 102 lessons as a map, with lines showing the order. It needs JavaScript; the full syllabus below lists every lesson as text.
Full syllabus: every lesson in the Linux roadmap
16 stages and 102 lessons, in the order the roadmap suggests. Every lesson is free to read and open from the start.
Stage 1: Navigation Basics
Navigation Basics
In Linux, navigation between directories and files is a fundamental, yet essential function that allows you to exploit the power of the command-line interface (CLI). Mastering the basic Linux navigation commands such as cd, pwd, ls, and tree enables you to flawlessly move from one point to another within the…
Basic Commands
Linux Navigation Basics is about using simple commands to move around and manage files on your computer. For example, cd lets you go into different folders, ls shows you what files and folders are inside, and pwd tells you where you are currently. These commands help you easily find and organize your files.
Moving Files / Directories
In Linux, moving files is an essential task that you will need to perform quite frequently. The mv command, short for move, is used to move files and directories from one location to another. The mv command can also be used for renaming files in Linux.
Creating & Deleting Files / Dirs
Linux file creation uses touch for empty files, echo "text" filename for text files, or cat filename for interactive input. Commands like mkdir create directories. File creation is immediate and permanent. Essential for organizing data, scripts, and configuration files in Linux systems.
Directory Hierarchy Overview
In Linux, understanding the directory hierarchy is crucial for efficient navigation and file management. A Linux system's directory structure, also known as the Filesystem Hierarchy Standard (FHS), is a defined tree structure that helps to prevent files from being scattered all over the system and instead organise…
Stage 2: Editing Files
Editing Files
Linux, like other operating systems, allows file editing for numerous purposes, whether you need to configure some system functionality or writing scripts. There's a variety of text editors available in Linux by default, these include: nano, vi/vim, emacs, and gedit. Each of these has its own learning curve and set…
Stage 3: Shell and Other Basics
Shell and Other Basics
The Linux shell is a command-line interface that acts as an intermediary between users and the system kernel. Common shells include Bash, sh, and csh. Basic operations involve navigating directories, creating/deleting files, and executing commands. Shell knowledge is fundamental for Linux administration, scripting,…
Vim
Vim (Vi Improved) is a powerful and flexible text editor used in Unix-like systems. It builds on the original Vi editor with additional features and improvements, including multi-level undo, syntax highlighting, and an extensive set of commands for text manipulation.
Nano
Nano is a popular, user-friendly text editor used for creating and editing files directly within the Linux command line interface (CLI). It is an alternative to editors like Vi and Emacs and is considered more straightforward for beginners due to its simple and intuitive interface.
Command Path
The command path is a variable that is used by the shell to determine where to look for the executable files to run. Linux commands are nothing but programs residing in particular directories. But, one does not have to navigate to these directories every time to run these programs. The command path comes to the rescue!
Environment Variables
Environment variables are dynamic named values that can affect the behavior of running processes in a shell. They exist in every shell session. A shell session's environment includes, but is not limited to, the user's home directory, command search path, terminal type, and program preferences.
Command Help
Linux command help provides documentation and usage information for shell commands. Use man command for detailed manuals, help command for shell built-ins, command --help for quick options, and tldr command for practical examples. Essential for learning command syntax, parameters, and functionality in Linux…
Redirects
Redirects change where a command's input comes from or where its output goes, instead of the default terminal screen. The operator sends output to a file, overwriting it, while appends to the end of a file instead. The < operator redirects input from a file, feeding its contents into a command instead of typing…
Super User
The super user, commonly referred to as root, is the account with unrestricted access to every file, process, and setting on a Linux system. Regular users run commands with sudo to temporarily gain root privileges for a single command, rather than logging in as root directly. Because root can modify or delete…
Stage 4: Working with Files
Working with Files
Working with files is an essential part of Linux and it's a skill every Linux user must have. In Linux, everything is considered a file: texts, images, systems, devices, and directories. Linux provides multiple command-line utilities to create, view, move or search files. Some of the basic commands for file…
File Permissions
File permissions control who can read, write, or execute a file, split into three categories: owner, group, and others. Each category can have any combination of read (r), write (w), and execute (x) permissions, often represented as a numeric value like 755. The chmod command changes these permissions, while chown…
Archiving and Compressing
Archiving bundles multiple files into a single file, typically using tar, while compressing reduces that file's size using tools like gzip or bzip2. A common pattern combines both steps at once, such as tar -czvf archive.tar.gz folder/, which archives and compresses a folder in one command. These tools are widely…
Copying and Renaming
Essential Linux file operations use cp to copy files and mv to move/rename them. The cp command copies files from source to destination, while mv moves or renames files/directories. Both commands use the syntax command source destination. These case-sensitive commands are fundamental for daily file management tasks…
Soft Links / Hard Links
Linux supports two types of file links. Hard links share the same inode and data as the original file - if the original is deleted, data remains accessible. Soft links (symbolic links) are shortcuts pointing to the original file path - they break if the original is removed. Create with ln for hard links and ln -s…
stdout / stdin / stderr
Linux processes use three standard data streams: STDIN (input), STDOUT (output), and STDERR (error messages). STDOUT handles normal command output while STDERR specifically handles error messages. You can redirect these streams using operators like for stdout and 2 for stderr, allowing separate handling of normal…
cut
The cut command is a text processing utility that allows you to cut out sections of each line from a file or output, and display it on the standard output (usually, the terminal). It's commonly used in scripts and pipelines, especially for file operations and text manipulation.
paste
In Linux, paste is a powerful text processing utility that is primarily used for merging lines from multiple files. It allows users to combine data by columns rather than rows, adding immense flexibility to textual data manipulation. Users can choose a specific delimiter for separating columns, providing a range of…
sort
Linux provides a variety of tools for processing and manipulating text files, one of which is the sort command. The sort command in Linux is used to sort the contents of a text file, line by line. The command uses ASCII values to sort files. You can use this command to sort the data in a file in a number of…
tr
The tr command in Linux is a command-line utility that translates or substitutes characters. It reads from the standard input and writes to the standard output. Although commonly used for translation applications, tr has versatile functionality in the text processing aspect of Linux. Ranging from replacing a list…
head
The head command in Linux is a text processing utility that allows a user to output the first part (or the "head") of files. It is commonly used for previewing the start of a file without loading the entire document into memory, which can act as an efficient way of quickly examining the data in very large files. By…
tail
The tail command in Linux is a utility used in text processing. Fundamentally, it's used to output the last part of the files. The command reads data from standard input or from a file and outputs the last N bytes, lines, blocks, characters or words to the standard output (or a different file). By default, tail…
join
join is a powerful text processing command in Linux. It lets you combine lines of two files on a common field, which works similar to the 'Join' operation in SQL. It's particularly useful when you're dealing with large volumes of data. Specifically, join uses the lines from two files to form lines that contain…
split
Linux provides an extensive set of tools for manipulating text data. One of such utilities is the split command that is used, as the name suggests, to split large files into smaller files. The split command in Linux divides a file into multiple equal parts, based on the lines or bytes specified by the user.
pipe
The pipe (|) is a powerful feature in Linux used to connect two or more commands together. This mechanism allows output of one command to be "piped" as input to another. With regards to text processing, using pipe is especially helpful since it allows you to manipulate, analyze, and transform text data without the…
tee
The tee command reads from standard input and writes to both standard output and files simultaneously, like a T-splitter in plumbing. It enables users to view results in the terminal while saving output to files concurrently. Syntax: command | tee file. Extremely useful for documenting terminal activities and…
nl
The nl command numbers lines in text files, providing an overview of line locations. By default, it numbers only non-empty lines, but this behavior can be modified. Syntax: nl [options] [filename]. If no file is specified, nl reads from stdin. Valuable for text processing when line numbers are needed for reference…
wc
The wc command is a commonly used tool in Unix or Linux that allows users to count the number of bytes, characters, words, and lines in a file or in data piped from standard input. The name wc stands for 'word count', but it can do much more than just count words. Common usage of wc includes tracking program…
expand
The expand command converts tabs to spaces in text files, useful for consistent formatting across different systems and editors. Default conversion is 8 spaces per tab. Use expand filename for basic conversion or expand -t 4 filename to specify 4 spaces per tab. Essential for maintaining code readability and…
unexpand
The unexpand command converts spaces to tabs in text files, making documents more coherent and neat. Commonly used in programming scripts where tab indentation is preferred. Use unexpand -t 4 file.txt to replace every four spaces with a tab. Opposite of expand command, useful for standardizing indentation…
uniq
uniq is an extremely useful command-line program for text processing. It aids in the examination and manipulation of text files by comparing or filtering out repeated lines that are adjacent. Whether you're dealing with a list of data or a large text document, the uniq command allows you to find and filter out…
grep
GREP (Global Regular Expression Print) is a powerful text search utility that finds and filters text matching specific patterns in files. It searches line by line and prints matching lines to the screen. Essential for shell scripts and command-line operations. Example: grep "pattern" fileName searches for specified…
awk
AWK is a powerful text-processing language for Unix-like systems, named after its creators Aho, Weinberger, and Kernighan. It reads files line by line, identifies patterns, and executes actions on matches. Commonly used in bash scripts for sorting, filtering, and report generation.
Stage 5: Text Processing
Text Processing
Linux offers robust text processing capabilities essential for system administrators and developers. Users can leverage command-line tools like awk, sed, grep, and cut for tasks such as filtering, substitution, and regular expression handling. Scripting languages like Python and Perl further enhance text…
Stage 6: Process Management
Process Management
Linux treats every running program as a process. Process management commands help view, control, and manipulate these processes. Key commands: ps aux shows running processes, top provides live system view, kill -SIGTERM pid gracefully stops processes, kill -SIGKILL pid forcefully terminates processes. Essential for…
Background / Foreground Processes
Linux processes run in foreground (taking direct user input) or background (running independently). Send processes to background with & or bg command. Bring to foreground with fg. Use Ctrl+Z to pause, then bg to resume in background. Part of job control for managing multiple tasks simultaneously from single terminal.
Listing / Finding Processes
Linux processes can be monitored using the proc virtual filesystem and commands like ps, top, and htop. Use ps -ef for process snapshots, top/htop for real-time views. The /proc directory contains detailed process information. View specific process details with cat /proc/{PID}/status. Essential for system…
Process Signals
Process signals are communication mechanisms in Linux that notify processes of synchronous or asynchronous events. Common signals include SIGINT, SIGSTOP, SIGKILL for interrupting, pausing, or terminating processes. Example: kill -SIGSTOP 12345 suspends process with PID 12345 until SIGCONT is received. Essential…
Killing Processes
The kill command terminates processes manually by sending specific signals to Process IDs (PIDs). Used when processes behave unexpectedly due to system bugs or accidental initiation. Syntax: kill [signal or option] PID(s). Essential for Linux process management, allowing administrators to stop, pause, or terminate…
Process Priorities
Linux assigns priority levels to processes for efficient resource utilization and execution timing. Priority values ("nice" values) range from -20 (highest) to +19 (lowest priority). View priorities with ps -eo pid,pri,user,comm. Change priorities using renice -5 -p [PID]. Essential for system performance…
Process Forking
Process forking uses the fork() system call to create child processes from parent processes, enabling concurrent execution. Child processes are nearly perfect copies of parents with different PIDs. Changes in child processes don't affect parents. Essential for understanding Linux process creation and control in…
Stage 7: Server Review
Server Review
Server review in Linux involves assessing performance, security, and configuration to identify improvements and issues. Check security enhancements, log files, user accounts, network configuration, and software versions. Common commands: free -m for memory, df -h for disk usage, uptime for CPU load. Critical task…
Uptime and Load
The uptime command shows system running time and load averages for 1, 5, and 15-minute intervals. Load average indicates computational work and processes waiting for CPU time. High load suggests insufficient resources or misconfigurations. Example: uptime shows "2 days, 20 min" uptime and "0.00, 0.01, 0.05" load…
Authentication Logs
Authentication logs in Linux record all auth-related events like logins, password changes, and sudo commands. Located at /var/log/auth.log (Debian) or /var/log/secure (RHEL/CentOS), these logs help detect brute force attacks and unauthorized access attempts. Use tail /var/log/auth.log to view recent entries.…
Services Running
Linux servers run various services including web, database, DNS, and mail servers. System administrators use tools like systemctl, service, netstat, ss, and lsof to manage and monitor services. Use systemctl --type=service to list all active services with their status. Essential for server management, resource…
Available Memory / Disk
Linux provides tools like free, vmstat, and top to monitor system memory usage and performance. The free -h command shows total, used, free, shared, buffer/cache, and available memory in human-readable format. Regular memory monitoring helps maintain optimal server performance, prevent overload, and troubleshoot…
Stage 8: User Management
User Management
Linux user management allows multiple users to interact with the system in isolation. Includes creating, deleting, modifying users and groups, assigning permissions and ownership. Key commands: adduser/useradd creates users, deluser/userdel removes users, passwd manages passwords, su switches users. Essential for…
Stage 9: Service Management (systemd)
Service Management (systemd)
Service management controls Linux services (daemons) during boot and shutdown processes. Common systemctl commands include start, stop, restart, reload, status, enable/disable. Modern Linux uses systemd while older systems use SystemV or Upstart. Example: sudo systemctl start sshd starts SSH service. Essential…
Creating New Services
Creating Linux services involves setting up background applications using systemd service files. Services run continuously performing essential tasks like web servers, databases, and mail servers. Create .service files in /etc/systemd/system/ with Unit, Service, and Install sections. Control services using…
Checking Service Logs
Systemd captures output from all managed services and stores it in the journal, a binary log managed by journald. You can view logs for a specific service using journalctl -u service-name. Useful flags include -f to follow logs in real time, --since and --until to filter by time range, and -n to limit the number of…
Starting / Stopping Services
Linux service management controls system services like firewall, network, and database using systemctl commands. Basic operations: sudo systemctl start servicename (start), sudo systemctl stop servicename (stop), sudo systemctl restart servicename (restart). Root permissions required. Essential for system…
Checking Service Status
systemctl status service-name gives a real-time snapshot of a service: whether it's active, inactive, or failed; its process ID; recent log lines; and any error messages from the last run. For a quick boolean check, systemctl is-active and systemctl is-enabled return simple values suitable for use in scripts. The…
Create / Delete / Update
Linux user management involves creating, updating, and deleting user accounts for system security and resource utilization. Key commands: useradd/adduser (create users), usermod (update user details like home directory/shell), userdel (delete users). Essential for maintaining secure, organized multi-user system…
Users and Groups
Linux user groups simplify system administration by managing collections of users with shared access rights to files and directories. Each user belongs to one or more groups, enabling privilege management without full superuser access. Management commands: groupadd, groupdel, groupmod, usermod, gpasswd. Essential…
Managing Permissions
Linux permissions control file and directory access for users, groups, and others with read, write, and execute types. Commands include chmod (change permissions), chown (change owner), and chgrp (change group). Proper permission management is crucial for system security and organization. Essential for maintaining…
Stage 10: Package Management
Package Management
Package management handles software installation, updates, configuration, and removal in Linux. It manages collections of files and tracks software prerequisites automatically. Common package managers include apt (Debian-based), yum/dnf (Red Hat-based), and pacman (Arch). Example: sudo apt install <package-name…
Inodes
An inode (index node) is a data structure in Linux filesystems that stores metadata about files and directories except their names and actual data. Contains file size, owner, permissions, timestamps, and more. Each file has a unique inode number for identification. Understanding inodes helps with advanced…
Filesystems
Filesystems define how files are stored and organized on Linux storage disks, ensuring data integrity, reliability, and efficient access. Linux supports various types like EXT4, XFS, BTRFS with different performance and recovery capabilities. All files start from root directory '/'. Use df -T to display filesystem…
Mounts
Mounting in Linux attaches filesystems to specific directories (mount points) in the directory tree, allowing the OS to access data on storage devices. The mount command performs this operation. Example: mount /dev/sdb1 /mnt mounts second partition to /mnt directory. The /mnt directory is conventionally used for…
LVM
LVM provides logical volume management through device mapper framework, offering flexible disk management with resizing, mirroring, and moving capabilities. Three levels: Physical Volumes (PVs - actual disks), Volume Groups (VGs - storage pools), and Logical Volumes (LVs - carved portions). Create with pvcreate,…
Adding Disks
Adding disks in Linux involves partitioning, creating filesystems, and mounting. Use lsblk to list devices, fdisk /dev/sdX to create partitions, mkfs.ext4 /dev/sdX1 to create filesystems, and mount /dev/sdX1 /mount/point to mount. This process prepares new storage devices for seamless integration into the Linux…
Swap
Swap space extends physical memory by using disk storage when RAM is full. Inactive memory pages move to swap, freeing RAM but with performance impact due to slower disk access. Swap can exist as dedicated partitions or regular files. Create with fallocate, mkswap, and swapon commands. Critical for memory…
Stage 11: Disks and Filesystems
Disks and Filesystems
Linux uses various filesystems to organize, store, and retrieve data from storage devices. Popular filesystems include EXT4 (robust for Linux volumes), FAT32 (compatible with all OS for removable media), NTFS, and Btrfs. Each has specific advantages and use cases. Use df -T command to display filesystem types, disk…
Stage 12: Booting Linux
Booting Linux
Linux booting involves several stages: POST, MBR, GRUB, Kernel, Init, and GUI/CLI. The bootloader loads the kernel into memory, which detects hardware, loads drivers, mounts filesystems, starts system processes, and presents login prompts. GRUB configuration is managed through /etc/default/grub with settings like…
Logs
Linux maintains logs documenting system activities, errors, and kernel messages. Boot logs record all operations during system startup for troubleshooting. Use dmesg to view kernel ring buffer messages in real-time, or access logs in /var/log. Systemd uses journalctl for logging. Log levels range from emergency…
Boot Loaders
Boot loaders load the OS kernel into memory when systems start. Common Linux boot loaders include GRUB (modern, feature-rich with graphical interface) and LILO (older, broader hardware support). Boot loaders initialize hardware, load drivers, start schedulers, and execute init processes. Use sudo update-grub to…
Stage 13: Networking
Networking
Linux networking enables system connections and resource sharing across platforms with robust management tools. Network configurations stored in /etc/network/interfaces. Key commands include ifconfig (deprecated) and ip for interface management. Supports various protocols with excellent scalability. Essential for…
TCP/IP Stack
TCP/IP (Transmission Control Protocol/Internet Protocol) forms the backbone of internet communication, allowing computers to connect and transfer data. It comprises four layers: Network Interface, Internet, Transport, and Application. Essential for Linux networking, enabling hosts to interact across networks. Use…
Subnetting
Subnetting divides networks into smaller subnets to improve performance and security in Linux networking. It organizes IP addresses within IP addressing schemes, preventing conflicts and efficiently utilizing address ranges. Use route -n to view routing tables and route add -net xxx.xxx.xxx.x/xx gw yyy.yyy.yyy.y to…
Ethernet & arp/rarp
Three crucial Linux networking components: Ethernet enables LAN device communication, ARP (Address Resolution Protocol) translates IP addresses to MAC addresses for direct network communication, and RARP (Reverse ARP) converts MAC addresses to IP addresses when devices know their MAC but need their IP. Essential…
DHCP
DHCP (Dynamic Host Configuration Protocol) automatically allocates IP addresses and network configuration to clients, ensuring unique addresses for each machine. In Linux, install with sudo apt-get install isc-dhcp-server and configure via /etc/dhcp/dhcpd.conf. DHCP servers require static IPs for effective…
IP Routing
IP routing in Linux involves configuring routing tables and network routes for packet forwarding across networks. The kernel handles route selection to send packets to their destinations. Use the ip command (replacing deprecated ifconfig) for network configuration. Example: ip route show displays all kernel-known…
DNS Resolution
DNS (Domain Name System) converts hostnames to IP addresses, enabling users to access websites without remembering numeric addresses. Linux systems use /etc/resolv.conf to configure DNS resolution. Applications consult the DNS resolver, which communicates with DNS servers for address translation. Use nslookup or…
Netfilter
Netfilter is a Linux kernel framework for manipulating and filtering network packets with hooks at various stages (pre-routing, input, forward, output, post-routing). Used for firewalls and NAT management with iptables configuration. Essential for traffic control, packet modification, logging, and intrusion…
SSH
SSH (Secure Shell) is a cryptographic network protocol providing secure remote access, command execution, and data communication between networked computers. Replaces insecure protocols like Telnet with confidentiality, integrity, and security. Use ssh username@serveripaddress to connect to remote Linux servers.…
File Transfer
Linux file transfer involves copying or moving files between systems over networks. Command-line tools support protocols like FTP, HTTP, SCP, SFTP, and NFS. Common commands include scp, rsync, and wget. Example: scp /local/file username@remote:/destination copies files to remote systems. These tools make network…
Package Repositories
Repositories are storage locations containing collections of software packages for Linux distributions. They store thousands of compiled packages specific to each distribution (.deb for Debian/Ubuntu, .rpm for Fedora/CentOS). Repositories ensure secure, tested software with proper dependencies. Update commands:…
Snap
Snap is a modern Linux package management system by Canonical providing self-contained packages with all dependencies included. Snaps run consistently across different Linux distributions, install from Snapcraft store, and update automatically. Updates are transactional with automatic rollback on failure. Install…
Finding & Installing Packages
Linux package managers like apt, yum, and dnf automate software installation, upgrading, configuring, and removal. Debian-based systems: sudo apt-get update && sudo apt-get install package-name. Fedora/CentOS: sudo dnf update && sudo dnf install package-name. Package management eliminates manual compilation from…
Listing Installed Packages
Linux distributions use different package managers: apt (Debian-based), dnf (Fedora), zypper (OpenSUSE), pacman (Arch). Listing installed packages helps with auditing software and deployment automation. Commands: sudo apt list --installed for apt systems, dnf list installed for dnf systems. Each distribution has…
Install / Remove / Upgrade Packages
Linux package management handles installing, removing, and upgrading pre-compiled software modules. Different distributions use specific package managers: apt (Debian/Ubuntu), yum/dnf (Fedora/RHEL/CentOS), zypper (SUSE). Example installation: sudo apt-get install packagename. Each manager has specific commands for…
Stage 14: Shell Programming
Shell Programming
Shell programming (scripting) automates administrative tasks, repetitive operations, and system monitoring in Linux. Bash is the default shell and scripting language in most distributions. Scripts are text files executed by the shell, excellent for system automation. Example: !/bin/bash echo "Hello, World!" creates…
Literals
Shell literals are fixed values in source code including string literals (enclosed in quotes), numeric literals (sequences of digits), and boolean literals (1=true, 0=false). String examples: 'Hello, world!' or "Hello, world!". Numeric examples: 25, 100, 1234. Understanding literals is fundamental for shell…
Variables
Shell variables store system or user-defined data that can change during script execution. Two categories exist: System Variables (PATH, HOME, PWD) created by Linux, and User-Defined Variables created by users. Define variables with = operator and retrieve values with $ prefix. Example: MYVARIABLE="Hello World"…
Loops
Shell loops automate repetitive tasks with three types: for (iterates over lists), while (executes while condition true), until (runs until condition true). Example: for i in 1 2 3; do echo "$i"; done outputs each number. Essential for script efficiency, automation, and effective Linux shell programming.
Conditionals
Shell conditionals allow scripts to make decisions based on conditions using if, elif, and else statements. These control process flow by evaluating string variables, arithmetic tests, or process status. Conditions are checked sequentially - if true, the corresponding code block executes; otherwise, it moves to the…
Debugging
Shell script debugging in Linux uses tools like bash's -x option for execution traces, trap, set commands, and external tools like shellcheck. Use !/bin/bash -x in scripts or bash -x script.sh from command line for tracing. These debugging options help detect, trace, and fix errors to make scripts more efficient…
Stage 15: Troubleshooting
Troubleshooting
Linux troubleshooting involves identifying and resolving system errors, hardware/software issues, network problems, and resource management challenges. Key skills include using command-line tools, inspecting log files, understanding processes, and interpreting error messages. Tools like top provide real-time…
ICMP
Internet Control Message Protocol (ICMP) is a supportive protocol used by network devices to communicate error messages and operational information. Essential for Linux network troubleshooting, ICMP enables tools like ping and traceroute to diagnose network connectivity and routing issues. Use ping www.google.com…
ping
The ping command is essential for Linux network troubleshooting, checking connectivity between your host and target machines. It sends ICMP ECHO\REQUEST packets and listens for ECHO\RESPONSE returns, providing insights into connection health and speed. Use ping <target IP or hostname to diagnose network…
traceroute
Traceroute is a Linux network diagnostic tool that displays the path packets take from your system to a destination. It identifies routing problems, measures latency, and reveals network structure as packets traverse the internet. Each hop is tested multiple times with round-trip times displayed. Use traceroute…
netstat
Netstat is a command-line tool for network troubleshooting and performance measurement in Linux. It provides network statistics, open ports, routing table information, and protocol details. Use options like -n for numerical addresses, -c for continuous monitoring, and -t/-u for specific protocols. Example: netstat…
Packet Analysis
Packet analysis is a key Linux network troubleshooting skill involving capturing and analyzing network traffic to identify performance issues, connectivity problems, and security vulnerabilities. Tools like tcpdump and Wireshark provide packet-level details for network diagnostics. Use sudo tcpdump -i eth0 to…
Stage 16: Containerization
Containerization
Containerization is a virtualization method that encapsulates applications in containers with isolated operating environments, enabling reliable deployment across computing environments. Unlike VMs requiring full operating systems, containers share the host system's user space, making them lightweight and faster.…
ulimits
Ulimits (user limits) are Linux kernel features that restrict resources like file handles and memory that processes can consume. In containerization, ulimits prevent rogue processes from exhausting server resources and creating denial-of-service situations. Use ulimit -a to view current limits and ulimit -n 1024 to…
cgroups
Cgroups (control groups) are a Linux kernel feature that organizes processes into hierarchical groups and limits their resource usage (CPU, memory, disk I/O). Essential for containerization, cgroups prevent containers from monopolizing host resources, ensuring system stability and performance. Use cgcreate to…
Container Runtime
Container runtime is software responsible for running containers in Linux, providing image transport, storage, execution, and network interactions. Popular options include Docker (comprehensive ecosystem), Containerd (lightweight standalone), and CRI-O (Kubernetes-optimized). Each runtime offers specific features…
Docker
Docker is an open-source containerization platform that uses OS-level virtualization to package applications with dependencies into lightweight containers. In Linux, Docker containers share the kernel and use features like namespaces and cgroups for isolation. This provides less overhead than traditional VMs while…
Questions about the Linux Roadmap
Is the Linux Roadmap free?
Yes. All 102 lessons in this roadmap are free to read on Bibha AI Learning Labs, with no account and no payment. Signing in is optional: it lets you mark lessons as done and keep your progress, and it opens the AI tutor, which runs on your own API key.
How long does the Linux Roadmap take?
There is no fixed duration. It has 102 lessons in 16 stages, and the time it takes depends on how many hours you give it each week. Nothing is locked, so you can skip what you already know, and your progress is saved once you sign in.
Where should I start the Linux Roadmap?
Start with stage 1, Navigation Basics, and work down in order. The stages are numbered in the order the roadmap suggests, but every lesson is open, so if you already know Navigation Basics you can go straight to Editing Files or anything after it. Each lesson links to free resources for going deeper.
Can I learn Linux in Hindi?
The lessons are written in English. Once you sign in, you can ask the AI tutor on any lesson to explain it in Hindi or Hinglish. It answers from that lesson’s own text, so the explanation stays on the syllabus. The tutor runs on your own Google, OpenAI or Anthropic key.