This article details a systematic investigation of a Hadoop NameNode/DataNode that showed high memory usage at 3 AM, identifies zombie crond/sendmail/postdrop processes caused by a failed Postfix service, and provides cleanup commands and preventive measures for memory, disk, and inode issues.
This guide walks you through checking firewall status, enabling firewalld, adding permanent ports, reloading the firewall, and using iptables on CentOS 6, providing complete command examples and tips for troubleshooting common issues.
This article introduces ten fundamental Linux commands—pgrep, pstree, bc, split, nl, mkfifo, ldd, col, xmlwf, and lsof—explaining their purposes, typical use cases, and providing clear example outputs to help developers and system administrators work more efficiently on Linux systems.
This article explains why the Linux find command is essential for backend developers and interviewees, demonstrates how to delete log files older than a year, and walks through seven practical find usages—including name patterns, file types, timestamps, size, permissions, ownership, and executing actions on matched files.
This article presents a collection of Bash scripts for Linux administrators, covering how to retrieve detailed process information by PID or name, query user account details, and apply various system hardening measures such as password policies, login restrictions, and file immutability.
This article explains how to assess Linux system performance by examining CPU usage with top, interpreting load averages, using vmstat for detailed metrics, monitoring memory consumption via top, understanding cache behavior, evaluating I/O performance with iostat and sar, and provides practical commands and visual examples for each component.
This article explains the Linux unlink command, how it deletes files and links, its syntax, limitations compared with rm, and scenarios where using unlink is preferable, providing clear examples and safety considerations for system administrators.
This guide introduces eight powerful Linux commands—rsync, screen/tmux, lsof, python -m, vimdiff, nc, date, and systemctl—explaining their key options, typical use‑cases, and providing ready‑to‑run examples that help you work faster and smarter on the command line.
This article compiles a practical set of Linux terminal shortcuts, utilities, and techniques—including editing key bindings, sudo shortcuts, background job control, nohup, at scheduling, man page customization, htop, ranger, shutdown cancellation, process killing, REISUB, and youtube‑dl—to boost productivity for developers and system administrators.
This comprehensive guide walks you through essential Linux concepts, from understanding operating systems and distributions to mastering shell commands, file handling, user permissions, networking, process management, package installation, compression, and even Vim editor basics, empowering programmers to become proficient Linux users.
Garuda Linux, a new Arch‑based rolling distribution, combines Btrfs snapshots, Snapper rollback, a wide range of desktop environments, automatic Nvidia driver handling, and gaming‑focused tools, offering a modern, feature‑rich alternative for both newcomers and power users.
This guide walks you through the ten essential Linux command‑line tools that Netflix’s performance team uses to quickly assess system health, focusing on error and saturation metrics before utilization, so you can pinpoint and resolve server issues within the critical first minute.
This article presents a curated collection of 20 commonly used Python libraries for general development, followed by a comprehensive list of Python tools for system administration, standard library modules, and useful utilities, offering readers a practical reference for enhancing their Python projects.
Drawing from three and a half years of operations experience, this guide outlines practical online operation standards, data protection strategies, security measures, daily monitoring, performance tuning tips, and the right mindset to avoid costly incidents and ensure stable, secure systems.
This guide presents a collection of practical Linux command‑line techniques—including file searching, batch extraction, text manipulation with sed, directory checks, disk usage monitoring, log analysis, firewall rules, and SNMP queries—to help system administrators automate routine tasks efficiently.
This guide provides concise English explanations of dozens of essential Linux commands—including compression tools, process utilities, and network utilities—covering their purpose, syntax, key options, and practical usage examples for system administrators and developers.
This article provides a comprehensive guide to fundamental Linux command‑line tools—including ls, pwd, cd, grep, cat, more, echo, hostname, touch, df, and vim—explaining their purpose, common options, and practical usage examples with sample outputs for system administrators and developers.
Drawing from three and a half years of DevOps experience, this guide compiles critical operational practices—ranging from cautious command execution and strict change control to robust backup, security hardening, continuous monitoring, performance tuning, and a disciplined mindset—to help engineers avoid costly outages and data loss.
DevOpsOperational Best PracticesPerformance Tuning
This guide explains how to use key Windows command‑line tools such as ipconfig, msg, net user, net share, nslookup, netsh, telnet, and command chaining operators to query IP information, manage accounts, view shares, troubleshoot DNS, retrieve Wi‑Fi passwords, and automate tasks.
This guide introduces a collection of essential Linux command-line tools—including pgrep, pstree, bc, split, nl, ldd, col, and lsof—explaining their purposes, common options, and practical examples for process inspection, file manipulation, mathematical calculations, and system diagnostics.
This guide introduces several essential Windows command‑line utilities—including ipconfig, msg, net user, net share, nslookup, netsh wlan show, telnet, and command chaining operators—explaining their functions and step‑by‑step usage for network and system administration tasks.
The article recounts how Microsoft demoted PowerShell architect Jeffrey Snover after he created the tool in his spare time, contrasts this with Google’s 20% innovation policy, and reflects on the courage required to drive impactful system‑administration technologies.
The article reviews the end of CentOS, introduces the newly released RHEL 8.6, AlmaLinux 8.6 and Rocky Linux 8.6, compares their components, platform support, and community backing, helping readers decide which RHEL‑compatible distribution fits their needs.
This guide covers step‑by‑step methods to recover forgotten root passwords on various Linux distributions, explains common filesystem directories, lists essential commands, details SUID/SGID/sticky bit usage, shows how to configure static IPs in bridge and NAT modes, set up local yum repositories, manage iptables and firewalld rules, and provides basic shell scripting and hardening tips.
The article explains several destructive Linux commands—including rm -rf, fork bombs, direct disk writes, and hidden shellcode—detailing their effects, providing code examples, and warning readers to understand and test them carefully to avoid irreversible system damage.
This article shows how system administrators can use the systemd‑analyze tool to measure boot and startup times, identify slow services, visualize the critical chain, dump system state, generate SVG plots, test unit conditions, inspect configuration files, verify syntax, and assess security settings on a Linux workstation.
This article explains several Linux commands—such as rm -rf, fork bombs, direct writes to block devices, and malicious script execution—that can irreversibly damage systems, detailing their effects, typical usage examples, and essential precautions to avoid catastrophic data loss.
This guide explains how to install and run the beta Upgrade Tool to safely upgrade Linux Mint Debian Edition (LMDE) 4 to LMDE 5, including required package commands, graphical launch steps, post‑upgrade cleanup, and important precautions.
This guide introduces six robust SSH and remote‑access tools—Xshell, SecureCRT, WinSCP, PuTTY, MobaXterm, and FinalShell—detailing their key features, supported protocols, and official download links for efficient server administration.
This article explores memory management concepts from both operating system and MySQL perspectives, covering virtual vs physical memory, process memory usage analysis using tools like top and /proc, and experimental verification of memory allocation behaviors.
This guide introduces ten fundamental Linux commands—pgrep, pstree, bc, split, nl, mkfifo, ldd, col, xmlwf, and lsof—explaining their purposes, typical use‑cases, and providing clear code examples to help developers and sysadmins work more efficiently on Linux systems.
This tutorial introduces ten fundamental Linux commands—pgrep, pstree, bc, split, nl, mkfifo, ldd, col, xmlwf, and lsof—explaining their purposes, typical usage examples, and how they help developers and system administrators efficiently manage processes, files, and system resources on Linux.
An extensive tutorial covering Linux fundamentals, including operating system concepts, shell usage, essential commands, file management, permissions, process handling, networking, package management, compression, compilation, and advanced topics like daemon services, providing practical examples and step‑by‑step instructions for beginners and intermediate users.
This guide explains how to locate commands and files on Linux systems using the which, whereis, locate, and find utilities, covering syntax, common options, wildcard patterns, size filters, ownership checks, time criteria, logical operators, and the -exec action for batch processing.
This article presents nine practical Bash scripts covering DOS attack mitigation, email alerts, MySQL backups, Nginx log rotation and analysis, network traffic monitoring, server initialization, and disk usage checks across multiple hosts, each with ready-to-use code examples.
This article introduces the built‑in Cockpit web console for CentOS 8, explains how to install and configure CentOS 8, set up Cockpit, and demonstrates its various management functions such as system overview, storage, networking, containers, user accounts, updates, and SELinux control.
Learn how to efficiently manage Debian-based packages on Ubuntu and other Linux distributions using APT, covering updating the package index, upgrading system and individual packages, installing and removing software, handling dependencies, and leveraging powerful commands like list, search, and show for comprehensive system maintenance.
This article provides a comprehensive reference of essential Linux commands and procedures, covering system shutdown and reboot, hardware and environment inspection, file and directory management, user and permission handling, networking utilities, performance monitoring tools, and common text processing techniques for administrators and developers.
This guide explains what htop is, highlights its user‑friendly features over the traditional top command, provides step‑by‑step installation instructions for major Linux distributions and from source, and shows how to navigate its interface to monitor and manage processes efficiently.
Learn step‑by‑step how to use netstat, ss, and lsof commands to list listening ports, filter results, and pinpoint the exact process occupying a specific port on Linux and macOS systems.
This tutorial explains how to use Linux's fdisk and parted commands to view, create, modify, and delete disk partitions, covering MBR and GPT limitations, essential command syntax, interactive options, and safety precautions for reliable system administration.
This article compiles a comprehensive set of Linux command‑line shortcuts covering system shutdown, hardware inspection, user management, networking, file handling, compression, performance monitoring, and many other routine administration tasks, providing a handy reference for developers and sysadmins alike.
This guide explains how to monitor Linux server performance using built‑in tools such as top, vmstat, pidstat, iostat, netstat, sar and tcpdump, detailing the metrics each provides and how to interpret them for CPU, memory, disk I/O and network troubleshooting.
This guide explains how to monitor Linux server performance using built‑in tools such as top, vmstat, pidstat, iostat, netstat, sar and tcpdump, interpreting their output to diagnose CPU, memory, disk I/O and network issues quickly and effectively.
This tutorial walks you through Linux disk partitioning using fdisk and parted, covering MBR vs GPT limits, command syntax, interactive operations, example workflows for creating, listing, modifying, and deleting partitions, and essential safety warnings.
This guide explains the differences between su and sudo, demonstrates how to create test users, switch between accounts using login and non‑login shells, configure sudo privileges via /etc/sudoers, and provides practical command examples for secure user management on Linux.
This guide explains why NFS mounts can appear busy, how to identify the blocking processes with lsof and fuser, and step‑by‑step commands to safely kill those processes or perform a lazy unmount, ensuring the filesystem is cleanly detached.
This guide explains why NFS mounts can become "device busy", shows how to locate the processes holding the mount with lsof and fuser, demonstrates safe termination of those processes, and covers both regular and lazy unmount techniques to reliably release the filesystem.
This article explains why the Linux commands du and df often return mismatched root partition sizes, detailing five underlying reasons such as deleted open files, reserved space, hidden files, mounted directories, and the fundamental differences between how du and df calculate disk usage.
This tutorial explains how to achieve high availability with keepalived by installing the software, configuring VRRP virtual IPs, setting up master and backup nodes, starting the service, and verifying failover through VIP testing on Linux systems.
This guide explains how to use the versatile lsof utility on Unix-like systems to list open files, discover which processes are using specific network ports, filter by user or command, and combine options for advanced troubleshooting and security monitoring.
This guide explains the role of the superuser in Linux system management, details how ordinary users can obtain root privileges using the su command, outlines its options and usage examples, and discusses the security trade‑offs of granting root access.
This article systematically explains the differences, usage patterns, and practical examples of the Linux su and sudo commands, covering user creation, login‑shell vs non‑login‑shell switches, the -c option, sudoers configuration, and security considerations for privilege escalation.
This comprehensive guide walks you through Linux performance monitoring tools—top, free, and vmstat—detailing their syntax, key options, real‑world output examples, and how to interpret CPU, memory, swap, and process statistics for effective system administration.
Learn how to quickly check available disk space on Linux servers using five built‑in commands—df, du, ls, stat, and fdisk—plus handy GUI tools, with practical options and examples to help you clean up storage efficiently.
This tutorial explains the differences between the Linux su and sudo commands, shows how to create and manage test users, demonstrates login‑shell versus non‑login‑shell switching, and details sudo configuration with visudo to control privileged access.
Learn how to install, configure, and use the Linux ‘at’ command to schedule one‑time tasks, including interactive entry, piping commands, time expressions, viewing and removing jobs, and comparing it with cron for efficient, non‑recurring automation.
This guide walks through setting up BIND9 in a chroot environment, configuring ACLs and views for intelligent DNS routing, creating master and slave zones, and testing resolution on CentOS 8, providing a practical solution for secure and segmented DNS services.
This article explains the differences between the su and sudo commands, shows how to create test users, demonstrates login‑shell and non‑login‑shell switches, covers the -c option, details sudo’s permission model via /etc/sudoers, and provides a side‑by‑side comparison with practical code examples.
This article provides a comprehensive collection of essential Linux command-line instructions covering system shutdown and reboot, hardware and process inspection, file manipulation, networking utilities, performance monitoring, and common administrative tasks, all organized for quick reference by developers and system administrators.
This article provides a comprehensive overview of iptables, explaining its table and chain architecture, detailing the built‑in tables (filter, nat, mangle, raw), describing common chains and targets, and offering practical command‑line examples for listing, flushing, persisting, and customizing firewall rules on Linux systems.
This article systematically explains the differences between the Linux commands su and sudo, covering preparation steps, usage patterns, parameter effects, practical examples, sudoers configuration, and security considerations to help readers confidently manage user switching and privilege escalation.
This guide maps four classic Linux process monitoring commands—ps, dstat, top, and htop—to the fictional "Four Great Detectives," explains their options, output fields, and practical usage with detailed examples and screenshots.
This article systematically explains the differences, syntax, and practical usage of the Linux su and sudo commands, covering user creation, login shells, command‑line options, password handling, sudoers configuration, and a side‑by‑side comparison of their security implications.
Learn how to use the Linux eject command to safely remove removable media, including its syntax, available options, and step‑by‑step examples for ejecting CD‑ROMs, SCSI devices, floppy disks, and tape drives, even when they are mounted.
This article surveys a collection of Linux command‑line utilities that can monitor overall, per‑interface, per‑socket, and per‑process network bandwidth, explaining how each tool works, what data it reports, and how to install it on major distributions.
This guide explains what Linux swap is, its advantages and drawbacks, how to size it for different memory configurations, and provides step‑by‑step commands for creating, managing, and tuning swap partitions or files, including swappiness and ZFS considerations.
This guide explains yum, the RPM‑based package manager used in Fedora, Red Hat and SUSE, covering its purpose, command syntax, key options, parameter meanings, and practical examples for installing, updating, searching, and cleaning packages.
This guide explains the purpose of the RPM tool, its syntax, common options, parameter usage, and provides practical examples for installing, upgrading, removing, and querying RPM packages on Linux systems.
Learn how to display, filter, and clear Linux kernel boot messages using the dmesg command, understand its options such as -c, -n, -r, and -s, and see practical examples for checking system startup, disk, and memory information.
Drawing from three and a half years of system administration, this article outlines practical guidelines for safe online operations, data protection, server security, continuous monitoring, performance tuning, and the right mindset to avoid costly mishaps in production environments.
ethtool is a Linux command-line utility for querying and modifying network interface parameters, offering options to view driver info, adjust speed, duplex, offload settings, and perform self-tests, with practical examples demonstrating how to inspect and configure interfaces such as ens33.
This article explains how to use the Linux fdisk command to create, modify, and delete disk partitions, covering syntax, options, example workflows for primary, extended, and logical partitions, formatting with XFS, mounting, and configuring automatic mounts via /etc/fstab.
This guide explains how to use the Linux free command to display physical memory and swap usage, details each option’s meaning, and provides multiple examples—including human‑readable output, total summaries, periodic monitoring, and version checking—to help administrators monitor system resources effectively.
Learn how to use the Linux ifconfig command to display network interface details, configure IP addresses, modify MAC addresses, enable or disable interfaces, and set advanced options like netmask, MTU, and IPv6 addresses, with clear syntax explanations and practical examples.
This guide explains how to use the Linux find command to locate files by name, size, time, permissions, owner or group, provides a full list of options, and includes practical examples demonstrating common search patterns and actions.
This guide explains how to use the Linux init command to change system runlevels, detailing each level’s purpose, the command syntax, and practical examples for shutting down, entering single‑user mode, switching to full multi‑user mode, launching the graphical interface, and rebooting the machine.
This guide explains how the Linux runlevel command displays previous and current run levels, shows its syntax, provides practical examples, and expands on runlevel concepts, default levels, and their role in system boot and shutdown processes.
This guide explains the rlogin command for remote Linux login, detailing its syntax, a comprehensive list of options with their meanings, and provides a practical example illustrating how to connect to a remote host using rlogin.
This guide explains how the Linux nologin command can politely deny user logins, log attempts, and provides multiple methods—including command-line usage, password locking, and /etc/passwd modifications—to restrict login access for specific or all users during system maintenance.
Linux cgroups are a kernel mechanism that groups processes into hierarchical directories, each subsystem (e.g., freezer, CPU, memory, IO) exposing control files such as cgroup.procs and freezer.state, with core data structures like cgroup_subsys, cgroup, css_set linking threads to multiple subsystems and enabling resource policies, freezing, throttling, and allocation.
This guide explains how to use the Linux shutdown command to safely power off or reboot a system, covering warning notifications, time specifications, available options, and practical examples for immediate, delayed, or scheduled shutdowns and reboots.
This article explains the Linux ctrlaltdel command, its hard and soft reset options, usage syntax, example commands, and provides step‑by‑step instructions for disabling the Ctrl+Alt+Del shortcut to prevent accidental server reboots.
This guide explains how to use the sulogin command for single‑user login, detailing its syntax, available options such as -p and -t, and provides a practical example illustrating the login process without loading profile files.
This guide explains the Linux login command, covering its purpose, syntax, available options such as -h, -p, -f, parameter usage, and provides practical examples illustrating how to log in, switch users, and handle authentication on systems like Slackware and CentOS.
This article provides a comprehensive collection of Linux commands and techniques for identifying memory, CPU, network, disk, and application bottlenecks in Java backend services, including practical examples of free, vmstat, top, sar, iostat, iotop, and jstack usage.
This guide explains how to use the Linux findmnt command—including installation, default listing, real‑time monitoring, df‑style output, list format, fstab parsing, label evaluation, and filesystem‑type filtering—providing practical examples and command syntax for system administrators.
This article explains how Linux system and user resource limits—such as file descriptors, stack size, and process counts—can cause runtime failures, demonstrates practical experiments to modify these limits via ulimit, /etc/security/limits.conf, and prlimit, and provides guidance for stable server-side programming.
This guide explains how to achieve high availability for Nginx using Keepalived by setting up a double‑machine hot‑standby configuration, installing necessary packages, configuring VRRP‑based failover, writing health‑check scripts, and testing automatic VIP takeover when the primary server fails.
This guide explains how to use the built‑in Logrotate tool on Linux to configure automatic log rotation, customize rotation policies for services like Nginx, PHP and syslog, troubleshoot common issues, and replace ad‑hoc scripts with reliable, cron‑driven solutions.
This article introduces a collection of Linux command‑line utilities—such as nload, iftop, iptraf, nethogs, bmon, and many others—that can monitor overall and per‑process network bandwidth, explain their measurement methods, and provide installation instructions for major distributions.
This guide reviews a collection of Linux command-line utilities that let you track overall and per‑process network bandwidth, display inbound and outbound traffic separately, and generate real‑time or historical usage reports, helping administrators quickly identify bandwidth‑heavy processes.
This tutorial explains how to use the Linux date command to show the current time, format dates in various ways, query past or future dates, customize output with format specifiers, set the system clock, and incorporate date values into shell scripts.
This article introduces systemd as the modern Linux service manager, explains its key features and unit file syntax, and provides step‑by‑step practical examples for controlling Nginx, Tomcat, and custom Java JAR applications with systemd commands.
Learn to quickly pinpoint Linux server bottlenecks by running ten powerful commands—uptime, dmesg, vmstat, mpstat, pidstat, iostat, free, sar, and top—within a minute, interpreting their outputs using the USE method to assess utilization, saturation, and errors across CPU, memory, disk, and network resources.
This article provides a concise reference of 50 essential Linux commands covering file management, user administration, system monitoring, networking, permission handling, and editor shortcuts, offering clear examples and explanations for each command to help both beginners and seasoned administrators work efficiently.
This guide explains how to configure and manage Linux disk quotas on XFS file systems, covering prerequisites, quota activation options, user/group/project quota modes, command‑line procedures, testing scenarios, and common operational commands for administrators.
This article introduces systemd as the modern Linux init replacement, explains its key features and unit file syntax, and provides three hands‑on examples showing how to manage nginx, Tomcat, and a custom JAR service with systemd commands and configuration files.
Learn how to use the Linux ulimit command to inspect and modify both hard and soft resource limits, understand the meaning of limit values such as hard, soft, and unlimited, and apply temporary or permanent changes via command line or the limits.conf file.
This guide explains why static /etc/fstab entries can waste resources, introduces the autofs daemon for on‑demand mounting, and provides step‑by‑step commands and configuration examples to set up automatic CD‑ROM mounting on a Linux server.