Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#linux

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

500 articles in the current browsing window, ordered by publication date.

Why Deleting Logs Doesn't Free Linux Disk Space: Complete Troubleshooting Guide

This comprehensive guide explains why deleted log files may not release disk space on Linux, covering file handle leaks, inode exhaustion, sparse files, hard links, mount point issues, filesystem snapshots, and provides step-by-step troubleshooting with commands for logs, Docker, databases, and prevention strategies.

Why Linux Can't Fully Replace Windows for Most Users — And How to Use Both Effectively

The article explains why Linux cannot replace Windows for average users due to office software compatibility gaps, professional tool ecosystems, gaming anti-cheat issues, and hardware support variability, while highlighting Linux's strength in servers and development, and recommending a combined workflow using WSL 2, virtual machines, or dual-boot setups.

Master Linux Load Average Troubleshooting: From Concepts to Real-World Fixes

This comprehensive guide covers Linux Load Average fundamentals, diagnostic commands (top, iostat, vmstat, strace), step-by-step troubleshooting for CPU, memory, disk I/O, network, and process issues, plus remediation tactics, verification methods, and production safety practices.

Why Programmers Love Linux: Beginner's Command Line Guide

This beginner's guide explains why Linux dominates servers, covering its open-source nature, stability, and efficiency, then introduces essential command-line operations for file management, system monitoring, networking, permissions, and package installation across major distributions.

Why Linux? Troubleshoot Services, Automate Tasks, and Mirror Production Locally

This article explains why Linux is valuable for backend developers and server operators, covering the kernel vs. distributions, troubleshooting services with ps, ss, curl, and journalctl, managing file permissions, automating repetitive tasks with scripts and cron, ensuring local development matches production environments, and a hands-on Python HTTP server demo.

Linux SSH Hardening: Keys, Permissions & Access Control — A Complete Defense-in-Depth Guide

This comprehensive guide walks through hardening Linux SSH with a defense-in-depth approach: generating Ed25519/RSA keys, disabling password login, restricting users and IPs, configuring sshd_config with strong ciphers, setting up sudo, firewalls (iptables/firewalld/cloud security groups), fail2ban, audit logging, key rotation, 2FA with Google Authenticator, and jump-host/bastion patterns — all with exact commands, config snippets, verification steps, and rollback procedures.

From 5s to 500ms: 12 Nginx Parameters for Performance Tuning

This article systematically explains 12 Nginx configuration parameters for performance tuning, advocating a methodical approach of baseline measurement, hypothesis-driven changes, canary deployment, and validation, covering worker processes, connection limits, keepalive settings, sendfile, TCP optimizations, request buffering, and gzip compression, with practical commands and monitoring strategies.

Linux Learning Roadmap: From Installation to Kernel Development with Essential Books

This article presents a comprehensive staged learning path for Linux, progressing from installation and basic commands through system administration and kernel development prerequisites, accompanied by an extensive curated list of essential books covering software engineering fundamentals.

Why Linux Daemons End with 'd': From Maxwell's Demon to Unix

This article traces the 'd' suffix in Linux daemon names like sshd and systemd to the 1963 MIT Project MAC, where developers borrowed 'daemon' from Maxwell's Demon in physics, adopted it into Unix at Bell Labs, and established the naming convention to distinguish background processes from user commands.

Nginx High-Performance Tuning & Reverse Proxy Best Practices: From Default to Production-Ready

This comprehensive guide covers Nginx performance tuning and reverse proxy best practices, from identifying real-world bottlenecks like missing keepalive and buffer misconfiguration to systematic optimization of kernel parameters, connection reuse, caching, TLS, and observability with concrete verification commands.

Why Linux Dominates Servers: Historical, Technical, and Economic Factors

This article compiles expert perspectives from Zhihu on why Linux became the dominant server OS, covering historical Windows Server vulnerabilities, IIS performance limitations versus Apache and Nginx, licensing costs, containerization advantages, and the path-dependent ecosystem effects that cemented Linux's position.

DNS Resolution Failures: Diagnose, Recover, and Prevent Service Outages

A comprehensive guide to diagnosing and recovering from DNS resolution failures that cause service outages, covering real-world incident analysis, layered troubleshooting steps, runtime-specific behaviors, configuration tuning, monitoring strategies, and preventive design patterns for Linux and Kubernetes environments.

Linux High CPU: Real vs Fake vs Stolen — 6-Step Systematic Troubleshooting Guide

This article provides a comprehensive six-step methodology for diagnosing high CPU usage on Linux servers, distinguishing between real, fake, and stolen CPU time, and demonstrating practical commands like mpstat, perf, and bpftrace through real-world scenarios including regex backtracking, GC storms, lock contention, and container throttling.

Why Linux Daemons End with 'd': From Maxwell's Demon to systemd

This article traces the 'd' suffix in Linux daemon names like sshd and systemd to its 1963 MIT origin, where Fernando Corbató's team borrowed 'daemon' from Maxwell's Demon in physics, explaining the Greek spelling, Unix adoption, the fork() pun, and the later backronym 'Disk And Execution MONitor'.

Why Switching Linux Page Size from 4KB to 2MB Crashed My Production Services

The author recounts a production incident where blindly enabling 2MB huge pages for a microservice workload caused 30% memory bloat, CPU soft-interrupt spikes, and latency degradation, then explains the TLB vs. fragmentation trade-offs that make huge pages suitable only for large, contiguous memory workloads like databases.

MySQL 8.0.46 Lab Setup: Verifying x86_64 Linux Baseline & Directory Layout

This tutorial establishes a verifiable baseline for installing MySQL 8.0.46 on Kylin Linux V11 (x86_64), covering system checks (glibc 2.38, architecture), resource validation (3.3 GiB RAM, 21 GiB disk), port 3307 availability, and a structured directory layout separating downloads, config, data, logs, runtime, and SQL scripts.

Why kill -9 Fails: Troubleshooting Unkillable Linux Processes & System Hangs

This article explains why kill -9 fails to terminate Linux processes — covering guardian process restarts, uninterruptible D-state I/O waits, and zombie processes — and provides a systematic troubleshooting sequence for system-wide hangs: check disk space, OOM killer logs, and CPU vs I/O load before resorting to reboot.

Essential Linux Ops Commands: 50+ Tools to Cut Troubleshooting Time in Half

This comprehensive guide categorizes 50+ essential Linux commands for system troubleshooting, covering processes, memory, CPU, disk I/O, filesystems, networking, logs, and text processing, with practical examples, parameter explanations, output interpretation, and risk-level classifications to help ops engineers build rapid diagnostic reflexes.

Raspberry Pi: The Pocket-Sized Full Computer for Learning, Home Labs, and IoT

A comprehensive guide to Raspberry Pi covering its evolution from 2012 to 2023, hardware specs (GPIO, HDMI, USB, CSI/DSI), OS options (Raspberry Pi OS, Ubuntu, Kali, Home Assistant), headless setup via SSH, and practical projects like Pi-hole, media servers, smart home hubs, AI cameras, and retro gaming.

Linux CPU Spike Troubleshooting: From Alert to Root Cause

A comprehensive guide to diagnosing Linux server CPU spikes using systematic evidence chains: verify alert scope, identify processes and threads, distinguish user/kernel/interrupt time, analyze memory and I/O pressure, leverage perf and language runtimes, check container quotas, correlate deployments and cron jobs, and validate fixes with repeatable measurements.

Why Linux Dominates Servers: 7 Key Reasons from History to Containers

This article compiles seven expert perspectives on why Linux dominates the server market, covering historical security flaws in Windows/IIS, performance advantages of epoll-based web servers, lower licensing costs, lighter resource footprint, native container support, stronger open-source ecosystem, and the Matthew effect that cemented Linux's position.

Claude Code's allowNestedUserNamespaces: Fixing Chromium Breaks Outer Sandbox File Boundary

This article analyzes Claude Code's allowNestedUserNamespaces setting, explaining how enabling it to support Chromium and rootless Podman weakens the outer sandbox's file protections, compares three workarounds with different security trade-offs, and provides a decision framework based on asset sensitivity and trust domains.

Linux Network Tuning Golden Rule: Diagnose Queues Before Tweaking /proc/sys/net Parameters

This article teaches a systematic approach to Linux network parameter tuning: identify bottlenecks via queue statistics, conntrack usage, and softirq metrics before adjusting sysctl values, covering listen queues, NIC backlogs, port exhaustion, keepalive, congestion control, and verification with rollback procedures.

Linux CPU at 99%? 6 Troubleshooting Commands That Saved Me 3 Times

This guide presents a systematic, evidence-based approach to diagnosing Linux CPU spikes using six core commands and deeper analysis of processes, threads, cgroups, and runtime profiling to distinguish between user-space computation, system calls, I/O wait, soft interrupts, and container throttling.

Diagnosing Linux CPU Spikes: From mpstat to perf Root Cause Analysis

A systematic guide to troubleshooting high CPU usage on Linux servers, covering per-core analysis with mpstat, CPU time breakdown via vmstat, process and thread identification with top and pidstat, and scenario-specific root cause analysis using perf, jstat, iostat, and cgroup metrics for Java GC, kernel syscalls, I/O wait, softirq, and container throttling.

DHH: Hand-Coding Era Ends, AI Agents Will Control Computers via Natural Language

In this GOSIM Shenzhen 2026 interview, Ruby on Rails creator DHH argues 2026 marks Linux desktop's breakthrough year as AI agents democratize computing, enable natural-language system control, and shift programming to a 'pencil-down' paradigm where humans guide vision while agents write code.

Accidental rm -rf in Production: Complete Linux Data Recovery Guide

This guide details step-by-step recovery strategies after accidental rm -rf deletion in Linux production environments, covering immediate write cessation, backup/snapshot verification, /proc file descriptor rescue, block-level imaging, filesystem-specific tools for ext4/XFS/Btrfs/ZFS, container/Kubernetes considerations, validation procedures, and prevention practices.

10 Linux Commands to Diagnose 80% of Production Incidents

This guide presents a systematic 10-command Linux troubleshooting workflow—from uptime to dmesg—that helps engineers quickly isolate CPU, memory, disk, and network bottlenecks, avoid common misdiagnoses, and apply evidence-based fixes with proper verification and post-mortem practices.

Comprehensive Guide to Linux Performance Analysis Tools: vmstat, iostat, perf, and More

This article systematically introduces essential Linux performance analysis tools including vmstat, iostat, dstat, iotop, pidstat, top, htop, mpstat, netstat, ps, strace, lsof, and perf, explaining their usage, key metrics, and practical command examples for system monitoring and troubleshooting.

omdrop-owl Brings AirDrop to Linux on MediaTek Wi-Fi While Keeping Wi-Fi Active

The omdrop-owl project enables bidirectional AirDrop file transfer between Linux (on MediaTek MT7925 Wi-Fi) and Apple devices by running the AWDL protocol in userspace, piggybacking on the existing Wi-Fi channel so the network connection stays active, with installation steps, hardware compatibility details, and known limitations documented.

Diagnosing Server Slowdowns: Pinpointing CPU, Memory, Disk, and Network Bottlenecks

This guide provides a systematic approach to diagnosing Linux server slowdowns by distinguishing CPU, memory, disk, and network bottlenecks through evidence-based metric analysis, command-line tools, and practical examples covering load interpretation, PSI, I/O latency, and safe remediation practices.

Why Learn Linux? Kernel Internals, Unix Philosophy, and a Production Rescue Story

A veteran engineer recounts how deep Linux kernel knowledge resolved a catastrophic zombie-process outage across thousands of CentOS 6 servers, then explores the Unix philosophy of user autonomy, tool composability, and transparent system design that makes Linux essential for serious engineers.

Vim Mastery: Complete Visual Guide to Essential Commands and Keybindings

This comprehensive illustrated reference covers Vim's core keybindings across progressive learning levels — from basic navigation and editing to advanced visual mode operations — with practical examples for character, word, line, and screen movement, text insertion, editing, search, and file management.

8 Critical Mistakes to Avoid After Installing Linux

This article outlines eight common mistakes Linux beginners should avoid after installation, including blindly running internet commands, overusing root privileges, deleting system files, adding untrusted repositories, distro-hopping, fearing the terminal, pushing Linux on others, and neglecting backups.

Linux System Architecture Deep Dive: Kernel, File Systems & Disk Management

This article explains Linux system architecture covering kernel components (memory, process, device, network management), virtual file system (VFS), disk partitioning, mounting, inode/data block storage, hard vs soft links, and kernel parameter tuning via /proc.

Linux sysctl Tuning: Diagnose Bottlenecks Before Tweaking Kernel Parameters

A comprehensive guide to Linux kernel parameter tuning via sysctl, covering network, memory, and filesystem subsystems with a systematic workflow: baseline capture, bottleneck identification, single-parameter changes, validation, persistence, and rollback — illustrated with real production post-mortems.

Why the Creators of Linux, Python, Redis, Nginx & SQLite Are True Geniuses

The article argues that creators of foundational software like Linux, Python, Redis, Nginx, and SQLite are true geniuses due to their exceptional abstraction skills and system-level boundary control, illustrated by real-world cases where their minimal, convergent designs outperform modern complex solutions, and warns that over-reliance on AI tools erodes deep system understanding essential for solving hard production issues.

sendfile Zero-Copy: Which Data Copies Are Eliminated?

This article compares traditional file-to-network data transfer (4 copies, 2 CPU copies) with Linux sendfile zero-copy (2 DMA copies, 0 CPU copies), explaining how sendfile eliminates two CPU-mediated copies by moving data directly from kernel page cache to socket buffer, while noting limitations like file-to-socket only, no compression, and UDP incompatibility.

Fresh Ubuntu Install? Complete Guide from Boot to Coding in 30 Minutes

A step-by-step tutorial for Ubuntu beginners covering LTS version selection, post-install essentials (apt mirror switch, system update, GPU drivers, Chinese input method, fonts), development environment setup (Git, Python with venv, Node.js via nvm, Docker, VSCode), common pitfalls like DNS errors and driver black screens, and survival habits including Timeshift snapshots and config backups.

Why Linux Has /bin and /usr/bin: A 1971 1.5MB Disk Crisis

The split between /bin and /usr/bin originated in 1971 when Ken Thompson and Dennis Ritchie ran out of space on a 1.5MB PDP-11 disk, prompting them to spill overflow commands onto a second disk mounted at /usr—a pragmatic hack later mythologized as intentional design, causing decades of confusion until modern distributions merged them via usrmerge.

find vs locate: Mastering Million-File Search & Safe Cleanup in Linux Operations

This comprehensive guide compares find and locate for large-scale Linux file retrieval, covering performance bottlenecks, safe deletion practices, inode exhaustion troubleshooting, and production-ready scripts with dry-run, trash-based cleanup, and monitoring integration for million-file environments.

How a Dying Company's $5B Linux Lawsuit Collapsed — and Gave Us 'Signed-off-by'

The article recounts SCO Group's 2003 $5 billion lawsuit against IBM over alleged Unix code in Linux, detailing how Linus Torvalds' 1992 switch to GPLv2 made Linux impossible to monopolize, how Torvalds publicly debunked SCO's code claims line-by-line, how a 1995 contract revealed SCO never owned the Unix copyrights, and how the case led to the kernel's Developer Certificate of Origin (Signed-off-by) still used today.

Master Linux Ops: Essential High-Frequency Commands for Daily Production Use

A comprehensive, scenario-driven reference covering 30+ categories of Linux operations commands — system info, processes, CPU, memory, network, disk, files, logs, users, services, packages, scheduling, performance analysis, text processing, SSH, troubleshooting workflows, dangerous commands, auditing, and efficiency tips — each with purpose, key parameters, real-world examples, and risk warnings.

Linux rm -rf Disaster Recovery: From Incident Response to File System Forensics

A comprehensive guide to recovering from accidental rm -rf deletions on Linux, covering immediate response, file system internals (ext4/xfs/btrfs/zfs), multiple recovery tools (extundelete, debugfs, lsof, snapshots), a real incident timeline, risk assessment, and prevention strategies including code review, monitoring, and backup practices.

17 Must-Know Linux Ops Tricks for Sysadmins: From Log Analysis to Disk Monitoring

This article presents 17 practical Linux command-line techniques for system administrators, covering file search and manipulation with find and sed, log analysis using awk and sort, disk space monitoring with automated alerts, network packet capture via tcpdump, firewall configuration with iptables, and shell scripting for routine maintenance tasks.

Linux Logging Deep Dive: Kernel, journald, rsyslog & 5 Real Fault Cases

This comprehensive guide dissects the Linux logging stack — kernel ring buffer, journald, rsyslog, logrotate, and service logs — with configuration details, command references, and five step-by-step troubleshooting cases covering SSH brute force, disk exhaustion, OOM kills, network packet loss, and systemd service failures.

Master Linux Log Analysis: tail, less, grep, sed, awk Combo for Production Debugging

This article teaches practical Linux log analysis commands (tail, less, grep, sed, awk) with real-world scenarios like monitoring service startup, tracing orders, extracting error context, searching across rolled logs, counting exceptions, filtering noise, slicing time windows, and analyzing Nginx logs for top IPs and slow endpoints.

Linux Was Called 'Obsolete' in 1992; 25 Years Later Minix Runs in Your CPU

The 1992 Usenet debate where Andrew Tanenbaum called Linux's monolithic kernel obsolete is revisited, revealing how Linux came to dominate servers, phones, and supercomputers, while Minix quietly became the hidden OS inside Intel's Management Engine on hundreds of millions of x86 chips, making both architects unexpected winners.

Beyond Linux: 10 Skills That Define Senior Operations Engineers

An experienced operations engineer shares the key skills that differentiate senior professionals, including troubleshooting methodology, automation, cloud-native technologies, monitoring systems, security practices, business alignment, SRE principles, AI-assisted operations, and continuous learning, emphasizing that Linux is merely the foundation.

Essential Network Basics for Ops: IP, Subnet Mask, and Gateway Explained in One Go

This guide walks operations engineers through IP addressing, binary‑decimal conversion, classful and private address ranges, subnet masks and CIDR notation, gateway functions, VLAN concepts, routing tables, DNS basics, Docker/Kubernetes networking, firewall rules, and practical troubleshooting steps, all illustrated with concrete commands and examples.

Understanding Process State Transitions: The Ready‑Running‑Blocked Triangle

The article explains the three fundamental process states—Running, Ready, Blocked—their characteristics, how they convert between each other, the role of the Process Control Block, Linux‑specific state extensions, and provides illustrative code and diagrams to clarify OS scheduling concepts.

AI Agent Infrastructure Is Just 1996 Linux Sysadmin Practices Rebranded

The article maps modern AI Agent terminology — identity isolation, least privilege, sandbox, runtime, scheduler, observability, human-in-the-loop, secure execution, self-healing — to decades-old Linux concepts like user permissions, chmod, directories, sudo, systemd, cron, journalctl, SSH, Docker, and process supervision, arguing that Linux veterans already manage AI agents as just another untrusted user.

What AI Agents Really Are: Repackaged Linux System Controls

The article reveals that the hype around AI Agents masks a set of mature Linux system management features—user isolation, least‑privilege permissions, sandboxed workspaces, sudo restrictions, systemd daemons, cron scheduling, journald logging, SSH access, Docker containers, auto‑restart, multi‑process coordination, and Redis caching—showing that understanding Linux gives developers a clear advantage.

Segment‑Paging Memory Management: How Segments and Pages Join Forces

The article explains segment‑paging memory management by comparing pure paging, pure segmentation, and their combination, detailing address translation, two‑level page tables, Linux implementation, and practical scenarios such as process layout inspection, fragmentation handling, and protection mechanisms.

20 Essential tcpdump Commands Every Ops Engineer Should Know

This comprehensive guide introduces tcpdump, the Linux equivalent of Wireshark, and walks through 20 frequently used command combinations covering basic packet capture, filtering by host, port, protocol, output formatting, performance tuning, advanced BPF filters, real‑world troubleshooting scenarios, and best‑practice recommendations for production environments.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.