InterviewTreedInterviewTreed
All learning paths

Data, Cloud & DevOps

Linux & Networking

Prepare for Linux administration, operating system fundamentals, networking protocols, troubleshooting, server management, and production infrastructure.

Your learning roadmap

Explore the key concepts

Use these subtopics as a study checklist. Start with the fundamentals, then progress to practical examples and interview preparation.

Linux fundamentals

Understand Linux as an open-source operating system, including its kernel, shell, utilities, and user-space components. Learn how Linux manages hardware resources, runs applications, and supports server and development environments.

Start learning

Linux distributions and architecture

Explore popular Linux distributions such as Ubuntu, Debian, Fedora, and Red Hat Enterprise Linux. Understand Linux kernel architecture, distribution components, package ecosystems, and differences between desktop and server environments.

Start learning

Linux file system hierarchy

Learn the Linux Filesystem Hierarchy Standard and the purpose of directories such as /, /etc, /var, /home, /usr, /opt, /tmp, and /dev. Understand how configuration, application data, logs, and device files are organized.

Start learning

Files and directory management

Learn how to create, copy, move, rename, and delete files and directories using Linux commands. Explore directory navigation, file metadata, symbolic links, hard links, and practical file-management workflows.

Start learning

Linux file permissions

Understand Linux read, write, and execute permissions for file owners, groups, and others. Learn how permission bits control access to files and directories and how to inspect permissions using ls and related commands.

Start learning

Ownership and access control

Explore Linux file ownership and access-control mechanisms. Understand user and group ownership, traditional permission models, access control lists, and how Linux enforces access to system resources.

Start learning

chmod, chown, and chgrp commands

Learn how to modify file permissions and ownership using chmod, chown, and chgrp. Explore symbolic and numeric permission modes, recursive changes, and practical examples of securing files and directories.

Start learning

Linux users and groups

Understand Linux user and group concepts, including system accounts, regular users, primary groups, and supplementary groups. Learn how account information is maintained and how group membership affects resource access.

Start learning

User and permission management

Learn how to create, modify, lock, and remove Linux user accounts and groups. Explore commands such as useradd, usermod, userdel, passwd, groupadd, and sudo, along with secure permission-management practices.

Start learning

Linux command-line fundamentals

Understand how to work with the Linux command line and shell. Learn command syntax, options, arguments, command history, tab completion, manual pages, and techniques for combining commands efficiently.

Start learning

Essential Linux commands

Explore commonly used Linux commands for navigation, file operations, system information, process inspection, and administration. Practice commands such as ls, cd, pwd, cp, mv, rm, cat, less, and head.

Start learning

File searching with find and grep

Learn how to locate files and search text using find and grep. Explore filename patterns, directory traversal, regular expressions, recursive searches, filtering results, and combining search commands with pipelines.

Start learning

Text processing with sed and awk

Understand command-line text processing with sed and awk. Learn how to replace text, filter lines, extract columns, process structured records, and automate repetitive text transformations in Linux environments.

Start learning

Pipes and redirection

Learn how Linux pipes and input/output redirection connect commands and control data streams. Explore standard input, output, and error streams, along with operators such as |, >, >>, <, and 2>.

Start learning

Environment variables

Understand Linux environment and shell variables, including PATH, HOME, USER, and custom application settings. Learn how to define, export, inspect, and persist environment variables across shell sessions.

Start learning

Shell scripting fundamentals

Explore shell scripting concepts used to automate Linux administration and development tasks. Learn script execution, shebangs, command substitution, arguments, exit codes, and reusable automation workflows.

Start learning

Bash scripting

Learn how to write and execute Bash scripts for system administration and automation. Explore script structure, input handling, command execution, functions, debugging, and practical automation examples.

Start learning

Shell variables and functions

Understand variable declaration, scope, quoting, parameter expansion, and function definitions in Bash. Learn how to pass arguments, return status codes, reuse logic, and organize scripts into maintainable components.

Start learning

Conditional statements and loops in Bash

Learn Bash control-flow structures, including if, elif, else, case, for, while, and until. Understand test expressions, comparisons, loop control, and how to build scripts that respond to different conditions.

Start learning

Process management

Understand Linux process creation, execution, and termination. Learn how to inspect running processes using ps and top, manage foreground and background jobs, and control processes using kill and related commands.

Start learning

Signals and process control

Explore Linux signals and their role in controlling processes. Understand common signals such as SIGTERM, SIGKILL, SIGHUP, and SIGINT, along with signal handling, graceful shutdown, and process supervision.

Start learning

Linux services and systemd

Understand Linux services and the systemd initialization and service-management system. Learn about units, targets, dependencies, startup ordering, service states, and how systemd manages background processes.

Start learning

Service management with systemctl

Learn how to manage Linux services using systemctl. Explore commands for starting, stopping, restarting, enabling, disabling, checking status, inspecting failures, and configuring services to start at boot.

Start learning

Package management

Understand Linux software installation and package management. Explore package managers such as apt, dnf, yum, and rpm, including package installation, updates, removal, repositories, and dependency resolution.

Start learning

Cron jobs and scheduled tasks

Learn how to schedule recurring Linux tasks using cron and crontab. Understand cron expressions, user-specific schedules, environment considerations, logging, and alternatives such as systemd timers.

Start learning

Disk management and file systems

Explore Linux disk and storage administration, including partitions, block devices, file systems, and storage utilization. Learn tools such as lsblk, fdisk, df, and du for inspecting and managing storage.

Start learning

Mounting and unmounting file systems

Understand how Linux attaches file systems to directory mount points. Learn mount and umount commands, /etc/fstab configuration, mount options, device identification, and safe storage-management practices.

Start learning

Linux memory and CPU monitoring

Learn how to monitor CPU utilization, memory consumption, load averages, and system resource usage. Explore tools such as free, top, htop, vmstat, and uptime to identify resource bottlenecks.

Start learning

System logs and journalctl

Understand Linux logging mechanisms and how system events are recorded. Learn to inspect traditional log files and use journalctl to filter systemd journal entries by service, priority, boot, and time range.

Start learning

Linux performance monitoring

Explore Linux performance-monitoring techniques across CPU, memory, disk, and network resources. Learn to interpret system metrics, identify bottlenecks, and use monitoring tools to investigate application and server performance.

Start learning

SSH and remote server administration

Learn how Secure Shell enables encrypted remote access and server administration. Explore SSH clients, key-based authentication, SSH configuration, file transfers, port forwarding, and secure remote-management practices.

Start learning

Linux security fundamentals

Understand core Linux security principles, including least privilege, user isolation, secure authentication, file permissions, patch management, and system hardening. Learn how to reduce attack surfaces on Linux servers.

Start learning

Firewall configuration

Learn how to configure and manage Linux firewalls using tools such as ufw, firewalld, and nftables. Understand inbound and outbound rules, ports, protocols, zones, default policies, and firewall troubleshooting.

Start learning

Linux server troubleshooting

Develop a systematic approach to diagnosing Linux server issues. Learn to investigate boot failures, service errors, resource exhaustion, disk problems, permission issues, and connectivity failures using system tools and logs.

Start learning

Operating system fundamentals

Understand the core responsibilities of an operating system, including process management, memory management, file systems, device management, and system calls. Explore how the kernel coordinates hardware and application execution.

Start learning

Processes and threads

Learn the differences between processes and threads, including their execution contexts, memory spaces, and resource ownership. Understand process creation, thread scheduling, context switching, and multithreaded application behavior.

Start learning

Process scheduling

Explore how operating systems schedule processes and threads for CPU execution. Understand scheduling algorithms, priorities, time slices, preemption, context switching, and the trade-offs between responsiveness and throughput.

Start learning

Memory management

Understand operating system memory management, including allocation, deallocation, address spaces, memory protection, and memory sharing. Learn how the operating system manages physical and virtual memory resources.

Start learning

Virtual memory and paging

Explore virtual memory, paging, page tables, page faults, and address translation. Understand how operating systems provide isolated address spaces and use physical memory and storage to support running applications.

Start learning

Deadlocks and synchronization

Understand synchronization problems involving concurrent processes and threads. Learn the four necessary conditions for deadlocks, mutexes, semaphores, race conditions, and techniques for deadlock prevention and recovery.

Start learning

Networking fundamentals

Understand computer networking concepts, including network devices, communication protocols, addressing, and data transmission. Explore how hosts communicate across local networks and the internet.

Start learning

OSI and TCP/IP models

Learn the OSI seven-layer model and the TCP/IP networking model. Understand the responsibilities of each layer, common protocols, encapsulation, and how these models help diagnose network communication problems.

Start learning

IP addressing and subnetting

Understand IP addressing, subnet masks, network prefixes, and CIDR notation. Learn how to calculate network addresses, host ranges, broadcast addresses, and divide networks into smaller subnets.

Start learning

IPv4 and IPv6

Compare IPv4 and IPv6 addressing, packet formats, and configuration methods. Learn IPv4 dotted-decimal notation, IPv6 hexadecimal notation, address types, prefix lengths, and migration and coexistence approaches.

Start learning

MAC addresses and ARP

Understand MAC addresses as link-layer identifiers and explore how devices communicate within local networks. Learn how ARP resolves IPv4 addresses to MAC addresses and how ARP caches and neighbor discovery work.

Start learning

TCP and UDP protocols

Compare TCP and UDP transport-layer protocols. Understand connection-oriented and connectionless communication, reliability, ordering, flow control, congestion control, datagrams, and common application use cases.

Start learning

TCP handshake and connection termination

Explore TCP connection establishment through the three-way handshake and connection termination using FIN and ACK exchanges. Understand sequence numbers, acknowledgments, connection states, retransmissions, and TIME_WAIT.

Start learning

DNS and name resolution

Understand the Domain Name System and how hostnames are translated into IP addresses. Explore DNS records, recursive and authoritative servers, caching, lookup tools, and Linux name-resolution configuration.

Start learning

DHCP fundamentals

Learn how Dynamic Host Configuration Protocol automatically assigns network configuration to clients. Understand the DHCP discover, offer, request, and acknowledgment process, lease management, and common configuration options.

Start learning

HTTP and HTTPS

Understand HTTP request and response communication between clients and servers. Explore methods, status codes, headers, cookies, caching, HTTP versions, and how HTTPS adds encrypted transport using TLS.

Start learning

TLS and SSL fundamentals

Learn how TLS protects network communication through encryption, authentication, and integrity checks. Understand certificates, certificate authorities, handshake negotiation, cipher suites, and why SSL is considered obsolete.

Start learning

Ports and network services

Understand transport-layer ports and how applications expose network services. Learn well-known, registered, and dynamic port ranges, listening sockets, service discovery, and tools for identifying processes using specific ports.

Start learning

Routing and switching

Explore the roles of routers and switches in forwarding network traffic. Understand Layer 2 switching, Layer 3 routing, MAC address learning, packet forwarding, routing protocols, and communication between networks.

Start learning

Default gateways and routing tables

Understand how default gateways and routing tables determine where network packets are forwarded. Learn route selection, network prefixes, next-hop addresses, interface routes, and how to inspect and modify routes on Linux.

Start learning

NAT and port forwarding

Learn how Network Address Translation maps private and public IP addresses. Explore source and destination NAT, port address translation, port forwarding, and how NAT enables communication between different network environments.

Start learning

Firewalls and network security

Understand network firewall concepts and traffic filtering at different network layers. Explore stateful and stateless filtering, access rules, network segmentation, packet inspection, and common approaches to securing network boundaries.

Start learning

Load balancing

Learn how load balancing distributes incoming traffic across multiple servers or application instances. Explore Layer 4 and Layer 7 balancing, health checks, algorithms, session persistence, and high-availability architectures.

Start learning

Reverse proxies

Understand how reverse proxies receive client requests and forward them to backend services. Explore routing, TLS termination, caching, compression, security controls, and common proxy technologies such as Nginx and HAProxy.

Start learning

VPN fundamentals

Understand Virtual Private Networks and how encrypted tunnels provide secure communication across untrusted networks. Explore remote-access and site-to-site VPNs, tunneling protocols, authentication, and common deployment scenarios.

Start learning

Network troubleshooting with ping and traceroute

Learn how to diagnose network reachability and routing problems using ping and traceroute. Understand ICMP messages, round-trip time, packet loss, hop-by-hop paths, and how to interpret diagnostic results.

Start learning

Network diagnostics with netstat and ss

Explore Linux network diagnostic tools netstat and ss. Learn how to inspect listening ports, established connections, socket states, process associations, and network statistics to investigate connectivity issues.

Start learning

Packet analysis with Wireshark

Understand packet capture and network protocol analysis using Wireshark. Learn to inspect packets, apply display filters, follow TCP streams, analyze DNS and HTTP traffic, and identify communication failures.

Start learning

Sockets and socket programming

Learn how sockets provide communication endpoints for network applications. Understand IP addresses, ports, TCP and UDP sockets, client-server communication, connection handling, and the fundamentals of socket programming.

Start learning

Network monitoring and performance

Explore techniques for monitoring network availability, bandwidth, latency, packet loss, and throughput. Learn to use Linux network statistics and monitoring tools to identify congestion and performance problems.

Start learning

Linux networking configuration

Learn how to configure and troubleshoot network interfaces on Linux systems. Explore ip, NetworkManager, routing, DNS settings, interface configuration, and persistent network settings across distributions.

Start learning

Container networking fundamentals

Understand how containers communicate with one another and external networks. Explore bridge networks, virtual interfaces, port mapping, DNS-based service discovery, network namespaces, and container networking concepts used by Docker and orchestration platforms.

Start learning

Practice & revise

Interview questions

Practice interview questions with answers, key points, and practical examples.

Test your knowledge

Explore 120 questions for this topic, covering concepts, practical examples, and interview scenarios.

Browse 120 questions

Keep learning step by step

Work through the concepts, practice explaining them in your own words, and use interview questions to check your understanding.

Explore another learning path