Tutorials · Linux

Linux tutorials

From the basics to partitions, permissions and web servers. Follow them in order or jump to what you need.

● 30 free guides

Linux lessons30 guides

01

What Is Linux? History, Distributions and File System

What is the Linux operating system? Its history from Unix and GNU, how the kernel and distributions work,…

3 min read
02

10 Reasons to Use Linux in 2026

Ten practical reasons to use Linux in 2026: cost, security, stability, control, cloud, developer tools, older hardware and…

3 min read
03

5 Linux Predictions for 2022: What Actually Happened

We look back at five popular Linux predictions for 2022, from Linux gaming to Wayland and Flatpak, and…

3 min read
04

Difference Between Linux and Unix: History, Licensing and Use Today

The difference between Linux and Unix: history, licensing, kernels, POSIX and certification, examples like AIX and macOS, and…

3 min read
05

Difference Between Linux and Windows: A Practical Comparison

The difference between Linux and Windows explained: licensing, kernel, file system, users and permissions, software, security, servers and…

4 min read
06

Linux Fundamentals and Basic Commands for Beginners

Linux fundamentals and basic commands for beginners: the shell, paths, files and directories, searching text, permissions, processes and…

3 min read
07

Linux File and Directory Permissions Explained (chmod, chown, umask)

Linux file permissions explained: read, write and execute for owner, group and others, directory permissions, chmod modes, chown…

3 min read
08

Linux Special Permissions (SUID, SGID, Sticky Bit) and ACLs Explained

Linux special permissions explained: SUID, SGID and the sticky bit with examples, their security risks, and how to…

4 min read
09

Linux User and Group Management: Commands and Best Practices

Linux user and group management explained: user types, key files, creating, changing, locking and deleting users, groups, sudo…

3 min read
10

What Is a Disk Partition? Types and How to Create One on Linux

What a disk partition in Linux is, MBR vs GPT, primary, extended and logical partitions, and how to…

3 min read
11

What Is Swap on Linux and How to Create a Swap Partition or Swap File

What swap is on Linux, how much you need, how to create a swap partition or swap file…

3 min read
12

What Is LVM and How to Create an LVM Partition on Linux

What LVM is, its building blocks (PV, VG, LV), how to create an LVM partition step by step,…

3 min read
13

How to Set Up an SSL Certificate for Nginx: Let’s Encrypt and OpenSSL

How to set up an SSL certificate for Nginx: free Let's Encrypt certificates with Certbot, self-signed certificates with…

3 min read
14

How to Install Nginx on CentOS Stream, Rocky Linux and AlmaLinux

How to install Nginx on CentOS Stream, Rocky Linux and AlmaLinux: install the package, open the firewall, manage…

3 min read
15

How to Install Nginx from Source on Rocky Linux, AlmaLinux and CentOS Stream

How to install Nginx from source on RHEL-family Linux: build tools, download and verify the source, configure modules,…

3 min read
16

PHP2Shell (CVE-2026-109618 & CVE-2026-109619): What Happened, Who Is Affected and What to Do

PHP2Shell is a pair of critical (CVSS 9.2) PHP flaws that allow unauthenticated remote code execution. Here is…

8 min read
17

How to Check and Patch PHP2Shell on Linux Servers (Ubuntu, Debian, RHEL, Docker)

A step-by-step guide to finding every PHP install on your Linux server, patching PHP2Shell (CVE-2026-109618/109619), verifying the fix…

7 min read
18

Kali Linux vs Parrot OS (2026): Which Should You Use?

Kali Linux 2026.2 vs Parrot OS 7.4 compared: base, release model, tools, desktop, privacy, editions and a clear…

9 min read
19

How to Troubleshoot High CPU Usage on Linux: A Step-by-Step Guide

A tested, step-by-step process to find and fix high CPU usage on Linux: load average, top, mpstat, pidstat,…

7 min read
20

How to Secure a Linux Server on AWS EC2: 10 Essential Controls (2026)

A practical, tested checklist for securing Linux on AWS EC2: Session Manager instead of open SSH, IAM roles,…

8 min read
21

How to Self-Host n8n on Linux with Docker Compose, PostgreSQL and HTTPS (2026)

Set up a production-ready self-hosted n8n on Linux: Docker Compose, PostgreSQL 18, automatic HTTPS with Caddy, a first…

8 min read
22

How to Build a SOC Home Lab on Linux with Wazuh SIEM (2026 Guide)

Build a free SOC home lab with Wazuh 4.14: lab design, all-in-one install, connecting Linux and Windows agents,…

7 min read
23

NGINX October 2026 Vulnerabilities: Check Your Config and Patch

Five NGINX vulnerabilities were fixed in 1.30.6 and 1.31.7. Learn which configs are at risk, how to audit…

5 min read
24

Tailscale SSH Vulnerability: Root Risk, Fixes and What to Do

Tailscale SSH vulnerability guide: July root bugs fixed in 1.98.9/1.98.10, new Tailworm flaws unpatched. Update, audit SSH rules,…

10 min read
25

Hijacked Tor Relays Stole SSH Passwords: Lessons for Every Admin

Hijacked Tor relays intercepted SSH logins in October 2026. Learn who was at risk, how to check known_hosts…

5 min read
26

Automate Linux Server Tasks with Python and Cron: Step-by-Step

Python cron automation for Linux servers: tested disk-alert, log-cleanup and tarfile backup scripts, IST crontab examples, locking, logging…

12 min read
27

10 Essential Linux Automation Scripts for Sysadmins

Ten tested Linux automation scripts for sysadmins: update reports, user audits, SSH failures, port and file drift, backups,…

15 min read
28

Building Self-Healing Linux Servers: Scripts, systemd and Smart Alerts

Build a self-healing Linux server with systemd Restart and WatchdogSec, a tested bash remediation script with cooldown, timers…

12 min read
29

Securely Run Local LLMs on Linux: A Step-by-Step Guide

Learn how to run local LLMs on Linux with Ollama and llama.cpp, then lock them down: loopback binding,…

10 min read
30

Detect SSH Brute Force Attacks with Logs and fail2ban

Learn to detect SSH brute force attacks on Ubuntu 24.04 with journalctl, grep and fail2ban, and spot the…

13 min read

Need this done properly on your systems?

We secure servers, test websites and get businesses ready for ISO 27001.

See our services →