Tagged articles

Linux

5000 articles · Page 30 of 50
Liangxu Linux
Liangxu Linux
Apr 12, 2023 · Fundamentals

Mastering the GCC Toolchain: From Preprocessing to ELF Analysis

This guide explains how high‑level C/C++ source code is transformed into executable binary code on Linux using the GCC toolchain, covering preprocessing, compilation, assembly, linking, and ELF file inspection with practical command examples.

CompilationELFGCC
0 likes · 15 min read
Mastering the GCC Toolchain: From Preprocessing to ELF Analysis
DeWu Technology
DeWu Technology
Apr 12, 2023 · Fundamentals

Linux I/O Models and io_uring Performance Overview

Linux I/O models range from synchronous native operations to asynchronous kernel‑bypass techniques, with APIs such as open, read, write, mmap, sendfile and splice, while the modern io_uring interface—supporting interrupt, polling, and kernel‑polling modes via liburing—delivers superior performance, especially at high queue depths, compared to traditional libaio.

I/OLinuxio-uring
0 likes · 20 min read
Linux I/O Models and io_uring Performance Overview
Open Source Linux
Open Source Linux
Apr 12, 2023 · Information Security

Master Linux Security: Essential Baseline Hardening Scripts Explained

This article walks through why Linux servers need baseline hardening, explains baseline concepts and scanning, and provides a comprehensive collection of shell scripts that automatically check and enforce security settings such as password policies, file permissions, service configurations, and network controls.

Baseline HardeningLinuxcompliance
0 likes · 23 min read
Master Linux Security: Essential Baseline Hardening Scripts Explained
Liangxu Linux
Liangxu Linux
Apr 11, 2023 · Operations

Master Linux Performance Tuning: Practical Steps for Faster Systems

This guide explains why Linux performance depends on both hardware and software, outlines key factors such as CPU, memory, disk I/O, network, OS installation, kernel parameters, file systems, and application design, and provides a step‑by‑step process for administrators, architects, and developers to diagnose and optimize system speed.

HardwareLinuxOptimization
0 likes · 16 min read
Master Linux Performance Tuning: Practical Steps for Faster Systems
AI Cyberspace
AI Cyberspace
Apr 11, 2023 · Fundamentals

Inside Linux Kernel: From Boot to Intel I350 NIC Driver Initialization

This article walks through the Linux kernel boot sequence, the initialization of the kernel networking stack, the registration and initialization steps of the Intel I350 (IGB) network driver, and demonstrates how to inspect the resulting network interface using ifconfig and ethtool commands.

KernelLinuxNetwork Driver
0 likes · 18 min read
Inside Linux Kernel: From Boot to Intel I350 NIC Driver Initialization
Liangxu Linux
Liangxu Linux
Apr 9, 2023 · Operations

Mastering mount --bind: Seamless Directory Redirection on Linux

Learn how to replace cumbersome symlinks with Linux’s mount --bind command, covering basic usage, step‑by‑step examples, underlying VFS mechanics, persistence via /etc/fstab, and advanced scenarios such as temporary configuration testing and read‑only mounts.

FilesystemLinuxdirectory management
0 likes · 6 min read
Mastering mount --bind: Seamless Directory Redirection on Linux
AI Cyberspace
AI Cyberspace
Apr 9, 2023 · Fundamentals

Unlocking PCIe: From Bus Basics to Linux Device Enumeration

This article explains the fundamentals of computer bus systems, details the architecture, transmission rates, and components of PCIe, and guides readers through PCIe device enumeration, BDF numbering, BAR addressing, and Linux sysfs interfaces for PCIe devices.

BARBDFBus Architecture
0 likes · 15 min read
Unlocking PCIe: From Bus Basics to Linux Device Enumeration
macrozheng
macrozheng
Apr 8, 2023 · Fundamentals

Which OS Should You Pick for Learning Programming? Windows, macOS, or Linux

This article compares Windows, macOS, and Linux for programming, weighing their strengths, weaknesses, and suitability based on factors like stability, software ecosystem, customization, cost, and personal workflow to help beginners choose the right operating system.

Linuxdevelopment environmentmacOS
0 likes · 10 min read
Which OS Should You Pick for Learning Programming? Windows, macOS, or Linux
Liangxu Linux
Liangxu Linux
Apr 6, 2023 · Operations

How Linux Compacts Memory to Eliminate Fragmentation

This article explains the problem of memory fragmentation in Linux, describes the compaction algorithm that moves free pages together, and walks through the key kernel functions—alloc_pages_node, __alloc_pages_direct_compact, try_to_compact_pages, isolate_migratepages, migrate_pages, and unmap_and_move—detailing their roles in gathering movable pages and relocating them to create contiguous memory blocks.

KernelLinuxalloc_pages
0 likes · 10 min read
How Linux Compacts Memory to Eliminate Fragmentation
AI Cyberspace
AI Cyberspace
Apr 5, 2023 · Fundamentals

How ARP Resolves IP to MAC Addresses and Secures Your Network

This article explains the ARP protocol's role in translating IPv4 addresses to MAC addresses, details its packet structure, operation flow, security risks like spoofing and MAC conflicts, and provides Linux commands and configuration tips for managing ARP, Proxy ARP, ARP Probe, and Gratuitous ARP.

ARPAddress ResolutionLinux
0 likes · 19 min read
How ARP Resolves IP to MAC Addresses and Secures Your Network
AI Cyberspace
AI Cyberspace
Apr 4, 2023 · Fundamentals

Mastering Linux Socket I/O: Blocking, Non‑Blocking, and Epoll Explained

This article explains the two‑stage socket I/O process in Linux, compares blocking, non‑blocking, and I/O multiplexing techniques, details the select, poll, and epoll APIs with their advantages and drawbacks, and provides complete C code examples for a high‑performance TCP server and client.

C++EpollI/O
0 likes · 20 min read
Mastering Linux Socket I/O: Blocking, Non‑Blocking, and Epoll Explained
Bin's Tech Cabin
Bin's Tech Cabin
Apr 4, 2023 · Fundamentals

Why Does Linux Need a Slab Allocator? Unveiling the Secrets of Kernel Memory Pools

This article revisits Linux memory allocation, then dives deep into the slab allocator—explaining its relationship with the buddy system, its internal layout, the differences between slab, slub and slob, and how the kernel uses slab caches, per‑CPU caches, and NUMA nodes to efficiently allocate and free small memory objects.

KernelLinuxSLUB
0 likes · 66 min read
Why Does Linux Need a Slab Allocator? Unveiling the Secrets of Kernel Memory Pools
Liangxu Linux
Liangxu Linux
Apr 3, 2023 · Fundamentals

Mastering Linux NIC Packet Processing and Ring Buffer Optimization

This guide explains how a network interface card (NIC) receives packets, the role of DMA, interrupt handling, poll functions, and ring buffers, then details multi‑CPU ring buffer handling, key ethtool commands for statistics, buffer size, queue configuration, and hash‑based flow distribution.

LinuxNICethtool
0 likes · 10 min read
Mastering Linux NIC Packet Processing and Ring Buffer Optimization
Liangxu Linux
Liangxu Linux
Apr 2, 2023 · Operations

Master Linux Quickly: 100+ Essential Commands Every Sysadmin Needs

This article compiles a comprehensive Linux command reference covering system information, file and directory manipulation, permissions, networking, package management, backup, disk utilities, and editor shortcuts, providing concise examples and options for each command to help administrators work efficiently on the command line.

LinuxShellUnix
0 likes · 35 min read
Master Linux Quickly: 100+ Essential Commands Every Sysadmin Needs
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2023 · Information Security

How to Harden SSH on Linux: 8 Essential Security Steps

This guide explains why the default SSH configuration is risky and provides eight practical measures—including disabling root login, changing the default port, restricting password use, and employing key‑based authentication—to secure SSH access on Linux servers.

LinuxSSHsecurity
0 likes · 6 min read
How to Harden SSH on Linux: 8 Essential Security Steps
Liangxu Linux
Liangxu Linux
Apr 2, 2023 · Operations

Essential Linux Command-Line Tricks for Sysadmins: Find, Sed, iptables, and More

This article compiles practical Linux shell commands and scripts for tasks such as locating and moving files, batch unzipping, powerful sed edits, directory checks, disk usage monitoring with email alerts, log analysis, firewall configuration, and network diagnostics, all aimed at streamlining system administration.

LinuxShellscripting
0 likes · 9 min read
Essential Linux Command-Line Tricks for Sysadmins: Find, Sed, iptables, and More
Liangxu Linux
Liangxu Linux
Apr 1, 2023 · Information Security

Master Linux Security Hardening: Essential Baseline Scripts and Checks

This guide explains why Linux servers need security baseline hardening, describes baseline scanning, and provides a comprehensive set of Bash scripts that back up critical files, enforce password policies, restrict services, adjust file permissions, and verify system integrity to protect against common vulnerabilities.

BaselineLinuxShell
0 likes · 24 min read
Master Linux Security Hardening: Essential Baseline Scripts and Checks
AI Cyberspace
AI Cyberspace
Mar 29, 2023 · Fundamentals

Mastering POSIX Threads: From User Threads to Thread Pools in Linux

This article explains the concepts of user threads, the pthread library implementation, thread creation and termination functions, synchronization mechanisms like mutexes and condition variables, and demonstrates how to design and use a lightweight C thread‑pool with practical code examples.

C ProgrammingLinuxThread Pool
0 likes · 21 min read
Mastering POSIX Threads: From User Threads to Thread Pools in Linux
Liangxu Linux
Liangxu Linux
Mar 28, 2023 · Fundamentals

Top Free Open‑Source EPUB Readers for Ubuntu and Other Linux Distros

This guide reviews the best free open‑source EPUB readers available for Ubuntu and other Linux distributions, compares their key features such as UI, customization, bookshelf, annotation and sync, and provides installation commands via apt, Flatpak or Snap along with links to free e‑book sources.

CalibreEPUBFoliate
0 likes · 12 min read
Top Free Open‑Source EPUB Readers for Ubuntu and Other Linux Distros
Liangxu Linux
Liangxu Linux
Mar 28, 2023 · Operations

4 Essential Open‑Source Services to Run on Linux

This article introduces four open‑source server‑type applications—Samba, Snapdrop, VLC, and PulseAudio—explaining their core functions, basic configuration steps, and where to obtain their source code, helping Linux users set up file sharing, peer‑to‑peer transfers, media streaming, and network audio.

LinuxPulseAudioSamba
0 likes · 5 min read
4 Essential Open‑Source Services to Run on Linux
Liangxu Linux
Liangxu Linux
Mar 28, 2023 · Fundamentals

Why Use sudo Instead of Direct root Access? A Linux Guide

This tutorial explains the differences between the root account and the sudo command on Linux, covering what each provides, how to configure and use sudo, the sudoers file, and why following the principle of least privilege makes sudo a safer choice than a root shell.

$rootLinuxpermissions
0 likes · 7 min read
Why Use sudo Instead of Direct root Access? A Linux Guide
AI Cyberspace
AI Cyberspace
Mar 28, 2023 · Fundamentals

Why NUMA Slows Multithreaded Apps and How to Optimize It

This article explains NUMA architecture, its multithreaded performance overheads such as remote memory access, cache synchronization, context and mode switches, interrupt handling, TLB misses, and memory copies, and then presents optimization techniques like NUMA and CPU affinity, IRQ tuning, and large‑page usage.

CPU affinityLinuxNUMA
0 likes · 20 min read
Why NUMA Slows Multithreaded Apps and How to Optimize It
Liangxu Linux
Liangxu Linux
Mar 27, 2023 · Fundamentals

Can Linux Reach True Line‑Speed? Deep Dive into Kernel Packet Forwarding Bottlenecks

This article explains why Linux’s native networking stack falls short of line‑speed, analyzes the core latency sources such as DMA, memory copying, routing look‑ups and lock contention, and proposes a comprehensive set of kernel‑level redesigns—including VOQ queues, lock‑free data structures, and user‑space stacks—to achieve near‑wire‑speed forwarding.

DMAKernelLinux
0 likes · 39 min read
Can Linux Reach True Line‑Speed? Deep Dive into Kernel Packet Forwarding Bottlenecks
AI Cyberspace
AI Cyberspace
Mar 27, 2023 · Fundamentals

Understanding Linux Memory Allocation: Buddy, Slab, and Slub Explained

Linux’s memory allocation mechanisms—Buddy for main memory and Slab/Slub for CPU cache—aim to maximize memory utilization, minimize fragmentation, and boost allocation efficiency, with detailed explanations of their structures, operation steps, and how to inspect them via /proc interfaces.

KernelLinuxSLUB
0 likes · 9 min read
Understanding Linux Memory Allocation: Buddy, Slab, and Slub Explained
Open Source Linux
Open Source Linux
Mar 27, 2023 · Fundamentals

How Many TCP Connections Can a Single Server Actually Handle?

While TCP’s 16‑bit port range suggests a theoretical limit of 65,535 connections, real‑world server concurrency depends on factors like memory, file descriptor limits, port reuse, and operating‑system constraints, allowing modern Linux servers to support hundreds of thousands or even millions of simultaneous connections.

LinuxTCPconcurrent connections
0 likes · 11 min read
How Many TCP Connections Can a Single Server Actually Handle?
Liangxu Linux
Liangxu Linux
Mar 26, 2023 · Operations

Quick Techniques to Pinpoint Errors in Massive Log Files

Learn how to efficiently navigate, filter, and extract specific entries from large log files using tail, head, grep, sed, and pagination commands, with practical examples for locating error lines and time ranges.

Linuxcommand linegrep
0 likes · 11 min read
Quick Techniques to Pinpoint Errors in Massive Log Files
Liangxu Linux
Liangxu Linux
Mar 24, 2023 · Operations

Ultimate A‑Z Linux Command Cheat Sheet for Sysadmins

This article presents a comprehensive A‑to‑Z reference of Linux command‑line utilities, offering concise descriptions for each tool—from file manipulation and process control to networking and system monitoring—so readers can quickly look up or fill gaps in their command knowledge.

LinuxShellUnix
0 likes · 39 min read
Ultimate A‑Z Linux Command Cheat Sheet for Sysadmins
AI Cyberspace
AI Cyberspace
Mar 24, 2023 · Fundamentals

Unlock Faster Linux Performance with Huge Pages: Why and How

This article explains Linux huge pages, their performance benefits, implementation details, configuration steps, and the impact on memory reporting, including guidance on using and disabling Transparent Huge Pages for optimal system tuning.

Huge PagesKernelLinux
0 likes · 14 min read
Unlock Faster Linux Performance with Huge Pages: Why and How
Open Source Linux
Open Source Linux
Mar 24, 2023 · Operations

Essential Linux Commands Every Sysadmin Should Master

This guide walks through practical Linux utilities—including xargs, background execution with nohup, process monitoring, multitail log aggregation, continuous ping logging, TCP state inspection, top IP analysis, and SSH port forwarding—providing clear examples and code snippets to help sysadmins work more efficiently and troubleshoot effectively.

LinuxShellcommands
0 likes · 11 min read
Essential Linux Commands Every Sysadmin Should Master
Open Source Linux
Open Source Linux
Mar 23, 2023 · Operations

Automate Linux Disk Partitioning and LVM Setup with Bash Scripts

This guide walks you through three Bash scripts that automate creating primary ext4/xfs partitions, building a full‑disk LVM logical volume, and converting a partition into a logical volume, complete with user prompts, filesystem formatting, and fstab updates.

Disk PartitioningLVMLinux
0 likes · 11 min read
Automate Linux Disk Partitioning and LVM Setup with Bash Scripts
Open Source Linux
Open Source Linux
Mar 22, 2023 · Operations

Essential Linux Command Cheat Sheet: 100+ Commands Every Sysadmin Needs

This comprehensive guide compiles over a hundred essential Linux commands covering system information, shutdown/reboot, file and directory management, searching, mounting, disk usage, user and group handling, permissions, special attributes, compression, backup, networking, package management, and more, providing a handy reference for system administrators and developers alike.

LinuxShellUnix
0 likes · 42 min read
Essential Linux Command Cheat Sheet: 100+ Commands Every Sysadmin Needs
Liangxu Linux
Liangxu Linux
Mar 21, 2023 · Fundamentals

Top 10 Linux Shell Interview Questions with Clear Answers

This article presents ten common Linux shell interview questions, each accompanied by concise explanations and practical command‑line examples, covering script termination, file header removal, line length checking, non‑printable character display, directory permissions, process states, and useful utilities like cut, cmp, diff, and echo.

LinuxShellinterview
0 likes · 7 min read
Top 10 Linux Shell Interview Questions with Clear Answers
Java High-Performance Architecture
Java High-Performance Architecture
Mar 21, 2023 · Information Security

How to Detect and Recover from a Compromised Linux Server: Step‑by‑Step Guide

A detailed walkthrough of a recent Linux server breach shows how attackers hijacked system utilities, inserted hidden scripts, and leveraged LD_PRELOAD, while the remediation steps cover log analysis, SSH hardening, file attribute restoration, cron cleanup, and key lessons for future hardening.

LinuxRootkit RemovalSystem Hardening
0 likes · 15 min read
How to Detect and Recover from a Compromised Linux Server: Step‑by‑Step Guide
Open Source Linux
Open Source Linux
Mar 21, 2023 · Fundamentals

7 Stunning Linux Distributions That Redefine Desktop Beauty

Discover seven visually striking Linux distributions—elementary OS, Deepin, Pop!_OS, Manjaro, KDE Neon, Zorin OS, and Nitrux OS—each offering unique aesthetics, user‑friendly interfaces, and strong Ubuntu or Arch foundations for an enhanced desktop experience.

DesktopKDELinux
0 likes · 5 min read
7 Stunning Linux Distributions That Redefine Desktop Beauty
Liangxu Linux
Liangxu Linux
Mar 20, 2023 · Operations

How to Build a Linux DNS, NFS, and Local Yum Repo with Nginx

This guide walks you through installing and configuring a Bind DNS server, setting up NFS sharing on Linux, and creating a local YUM repository served by Nginx, complete with command‑line steps, configuration file edits, and troubleshooting tips.

DNSLinuxNFS
0 likes · 9 min read
How to Build a Linux DNS, NFS, and Local Yum Repo with Nginx
Liangxu Linux
Liangxu Linux
Mar 20, 2023 · Fundamentals

Master Linux File Management: Powerful mv Command Tricks & Examples

This guide explains the Linux mv command in depth, covering its syntax, useful options, and practical examples for renaming, moving single or multiple files and directories, interactive overwriting, conditional updates, and creating backups, all illustrated with real command‑line sessions.

LinuxUnixcommand line
0 likes · 12 min read
Master Linux File Management: Powerful mv Command Tricks & Examples
Liangxu Linux
Liangxu Linux
Mar 19, 2023 · Fundamentals

Master Linux Fundamentals: A Hands‑On Lab Guide for Home, Work, and Exams

This step‑by‑step Linux fundamentals guide walks you through selecting and installing multiple distributions, configuring users, permissions, filesystems, software, networking, scripting, and system services, providing practical tasks that prepare you for personal projects, workplace duties, and certification exams.

LinuxShellfundamentals
0 likes · 20 min read
Master Linux Fundamentals: A Hands‑On Lab Guide for Home, Work, and Exams
Liangxu Linux
Liangxu Linux
Mar 19, 2023 · Operations

Arch Linux vs Other Distros: Which One Is Right for You?

This guide compares Arch Linux with popular Linux distributions such as Ubuntu, Fedora, Debian, and CentOS, covering their philosophies, installation difficulty, package managers, release models, customization options, stability, and security to help users choose the distro that best fits their experience level and needs.

Arch LinuxDistribution ComparisonLinux
0 likes · 11 min read
Arch Linux vs Other Distros: Which One Is Right for You?
Liangxu Linux
Liangxu Linux
Mar 19, 2023 · Operations

How to Add or Modify Docker Container Port Mappings After Creation

This guide explains step‑by‑step how to add, change, or remove port mappings for Docker containers by stopping the container, editing hostconfig.json (and optionally config.v2.json), and restarting the container, with commands for both Linux and Docker Desktop for Mac.

Container ConfigurationDevOpsDocker
0 likes · 6 min read
How to Add or Modify Docker Container Port Mappings After Creation
Liangxu Linux
Liangxu Linux
Mar 19, 2023 · Operations

Master Log Analysis: Fast Linux Commands to Pinpoint Errors

This guide shows programmers how to quickly locate errors in massive server logs using essential Linux commands such as tail, cat, grep, sed, and pagination tools, providing step‑by‑step examples and tips for efficient debugging.

LinuxOperationsShell Commands
0 likes · 12 min read
Master Log Analysis: Fast Linux Commands to Pinpoint Errors
Liangxu Linux
Liangxu Linux
Mar 18, 2023 · Fundamentals

Master Linux: Run Multiple Commands in One Line with ;, &&, and ||

This guide explains how to chain multiple Linux terminal commands on a single line using the semicolon, logical OR, and logical AND operators, provides syntax examples, demonstrates combined usage, and shows how to automate sequences with shell scripts for efficient command‑line workflows.

LinuxShelloperators
0 likes · 8 min read
Master Linux: Run Multiple Commands in One Line with ;, &&, and ||
Liangxu Linux
Liangxu Linux
Mar 16, 2023 · Fundamentals

Mastering the Linux find Command: Syntax, Tests, Actions, and Advanced Options

This guide explains the Linux find command in depth, covering its basic syntax, the four expression types (tests, actions, global and positional options), common operators, and practical examples for time‑based, user‑based, permission‑based, and path‑based searches, as well as safe ways to execute commands on matched files.

Linuxcommand-linefile-search
0 likes · 19 min read
Mastering the Linux find Command: Syntax, Tests, Actions, and Advanced Options
Liangxu Linux
Liangxu Linux
Mar 16, 2023 · Operations

Master Linux System Monitoring: htop, top, load average, CPU, memory, and network metrics

This guide explains how to use Linux tools such as htop, top, uptime, sar, pidstat, free, ps, lsof, netstat, and ss to monitor CPU details, load averages, memory usage, process information, PID mappings in containers, swap, inode statistics, network throughput, socket states, and database connection counts, providing practical commands and interpretation tips for effective system performance analysis.

CPULinuxmemory
0 likes · 13 min read
Master Linux System Monitoring: htop, top, load average, CPU, memory, and network metrics
Open Source Linux
Open Source Linux
Mar 15, 2023 · Backend Development

Why Traditional Linux Network I/O Falls Short and How DPDK Boosts Performance

The article examines the evolving demands on network I/O, outlines the limitations of traditional kernel‑based packet processing on Linux/x86, and explains how user‑space frameworks such as DPDK and its UIO/PMD architecture, along with optimization techniques like huge pages, SIMD, and cache prefetching, can achieve multi‑gigabit, million‑packet‑per‑second throughput.

DPDKLinuxnetwork I/O
0 likes · 15 min read
Why Traditional Linux Network I/O Falls Short and How DPDK Boosts Performance
Liangxu Linux
Liangxu Linux
Mar 13, 2023 · Fundamentals

Key Differences Between Linux and Windows File Systems Explained

This guide outlines the main differences between Linux and Windows file systems, covering directory structures, case sensitivity, path separators, the absence of drive letters, the concept that everything is a file, and how Linux handles open files, helping new users transition between the two operating systems.

Case SensitivityFile SystemLinux
0 likes · 7 min read
Key Differences Between Linux and Windows File Systems Explained
Liangxu Linux
Liangxu Linux
Mar 12, 2023 · Operations

How to Scan and Repair Linux Disk Errors with fsck and xfs_repair

This guide walks you through identifying Linux disk partitions, checking and fixing Ext4 and XFS file systems using fsck and xfs_repair, and configuring automatic checks at boot by adjusting mount counts and GRUB parameters, complete with command examples and output screenshots.

Linuxdisk repairfsck
0 likes · 8 min read
How to Scan and Repair Linux Disk Errors with fsck and xfs_repair
Liangxu Linux
Liangxu Linux
Mar 12, 2023 · Operations

Master Apache Log Analysis with Powerful AWK and Netstat Commands

This guide presents a comprehensive collection of AWK, grep, sed, and netstat one‑liners that let you count unique IPs, rank page visits, measure bandwidth, monitor TCP states, and extract detailed traffic patterns from Apache access logs on Linux systems.

ApacheLinuxawk
0 likes · 11 min read
Master Apache Log Analysis with Powerful AWK and Netstat Commands
Liangxu Linux
Liangxu Linux
Mar 11, 2023 · Operations

20 Essential Linux Command-Line Tricks Every Sysadmin Should Know

A concise collection of practical Linux shell commands covers file clearing, log analysis, bulk file creation, mass file operations, advanced find usages, history shortcuts, sed editing tricks, network interface filtering, and more, providing sysadmins with ready-to-use shortcuts for daily tasks.

LinuxShelltips
0 likes · 8 min read
20 Essential Linux Command-Line Tricks Every Sysadmin Should Know
Open Source Linux
Open Source Linux
Mar 8, 2023 · Operations

Master Linux Process Monitoring: ps, dstat, top & htop Explained

This guide introduces Linux process‑monitoring tools—ps, dstat, top and htop—by mapping each command to a character from the classic "Four Famous Detectives" metaphor, explains their key options, output fields, and interactive features, and provides practical usage examples for system administrators.

Linuxdstathtop
0 likes · 12 min read
Master Linux Process Monitoring: ps, dstat, top & htop Explained
Liangxu Linux
Liangxu Linux
Mar 7, 2023 · Fundamentals

Why 65,535 Isn’t the Real Limit for TCP Connections on Linux

The article explains that the 65,535 TCP port limit does not bound a Linux server’s concurrent connections, detailing how TCP connections are identified, the theoretical maximum of 2⁴⁸ connections for a server, and the practical constraints imposed by memory and file‑descriptor limits.

LinuxSocketTCP
0 likes · 11 min read
Why 65,535 Isn’t the Real Limit for TCP Connections on Linux
Liangxu Linux
Liangxu Linux
Mar 5, 2023 · Operations

Essential Linux Shell Commands for System Monitoring and Troubleshooting

This guide compiles a comprehensive set of Linux shell commands for deleting zero‑byte files, inspecting processes, checking CPU and memory usage, monitoring network connections, managing services, and includes a collection of practical regular expressions for common text‑processing tasks.

LinuxShellregex
0 likes · 12 min read
Essential Linux Shell Commands for System Monitoring and Troubleshooting
Liangxu Linux
Liangxu Linux
Mar 4, 2023 · Operations

Master Linux Traceroute: 12 Powerful Commands to Diagnose Network Paths

Learn how to install and leverage the Linux traceroute utility with 12 practical examples, covering basic usage, timeout adjustments, packet count, hop limits, TTL settings, disabling hostname resolution, custom ports, packet size, IPv4/IPv6 tracing, ICMP mode, and output saving for effective network diagnostics.

Linuxcommand linenetwork diagnostics
0 likes · 10 min read
Master Linux Traceroute: 12 Powerful Commands to Diagnose Network Paths
Architect
Architect
Mar 2, 2023 · Fundamentals

Understanding the Maximum Concurrent TCP Connections and the Origin of the 65535 Limit

The article explains how TCP connections are identified by a four‑tuple, why the theoretical maximum client connections are 65,535 due to port limits, how servers can theoretically handle up to 2⁴⁸ connections, and why real‑world concurrency is constrained by memory, file descriptors and port reuse rather than the 65535 port count.

LinuxNetworkingPort Numbers
0 likes · 12 min read
Understanding the Maximum Concurrent TCP Connections and the Origin of the 65535 Limit
Liangxu Linux
Liangxu Linux
Feb 28, 2023 · Fundamentals

30 Must‑Know Linux Interview Questions and Answers for Developers

This article compiles a comprehensive set of common Linux interview questions covering core components, boot loaders, volume management, networking, essential commands, process handling, security, and popular distributions, providing concise answers and practical examples to help developers and sysadmins prepare effectively.

LinuxLinux BasicsShell
0 likes · 16 min read
30 Must‑Know Linux Interview Questions and Answers for Developers
Liangxu Linux
Liangxu Linux
Feb 27, 2023 · Operations

How to Open and Manage Linux Ports with firewalld and iptables

This guide walks you through enabling firewall services, adding permanent ports, and reloading rules on CentOS 7 using firewalld, as well as editing iptables files and restarting the firewall on CentOS 6, complete with command examples and common pitfalls.

CentOSLinuxfirewalld
0 likes · 4 min read
How to Open and Manage Linux Ports with firewalld and iptables
Open Source Linux
Open Source Linux
Feb 27, 2023 · Operations

How Many Files and Connections Can a Linux Server Actually Handle?

This article explains the Linux kernel limits that determine how many files a server can open and how many TCP connections it can sustain, covering the key parameters (fs.file-max, soft/hard nofile, fs.nr_open), practical configuration examples, memory constraints, client-side limits, and related performance considerations.

LinuxTCP connectionsfile descriptors
0 likes · 15 min read
How Many Files and Connections Can a Linux Server Actually Handle?
Open Source Linux
Open Source Linux
Feb 27, 2023 · Fundamentals

Mastering RAID: From Basics to Linux Software RAID 5 Setup

This article explains the fundamentals of RAID, compares common RAID levels, describes hardware RAID components, and provides a step‑by‑step guide for configuring a Linux software RAID 5 array with mdadm, including commands, monitoring, and recovery procedures.

HardwareLinuxRAID
0 likes · 11 min read
Mastering RAID: From Basics to Linux Software RAID 5 Setup