як ядро Linux знаходить потрібний пристрій

Major каже ядру, який драйвер обслуговує файл пристрою, а minor — з яким саме пристроєм цей драйвер має працювати; обидва числа з'являються під час роботи ядра,…

#linux#kernel#devices#major#minor#dev_t
Read more

Loop-пристрої в Linux

Як Linux підключає файл як блоковий пристрій; чому Snap створює /dev/loop; як читати й фільтрувати lsblk; як створити й змонтувати власний образ.

#linux#filesystems#storage#snap
Read more

як працює DNS та як налаштувати в системі й браузері

Як працює DNS і як налаштувати DoH та DoT. Що бачить провайдер, як пов’язані DNS, HTTPS, Cloudflare/CDN, VPN і Tor.

#networking#dns#linux#doh#privacy
Read more

Advanced AWK Cheatsheet

Advanced AWK recipes

#linux#awk#gawk#cheatsheet#text-processing
Read more

AWK Cheatsheet

A practical AWK reference

#linux#awk#cheatsheet#text-processing
Read more

GNU AWK Time Functions Cheatsheet

GNU AWK time functions

#linux#awk#gawk#cheatsheet#datetime#timezones
Read more

GNU AWK Time One-Liners Cheatsheet

Copyable GNU AWK recipes for date conversions, log filtering, Apache reports, CSV timestamps, time zones and calendar calculations.

#linux#awk#gawk#cheatsheet#datetime#logs
Read more

grep Cheatsheet

A practical grep reference with examples

#linux#grep#bash#cheatsheet#text-processing
Read more

ripgrep Cheatsheet

A practical ripgrep reference

#linux#ripgrep#rg#bash#cheatsheet#text-processing
Read more

sed Cheatsheet

A practical sed reference with tested examples

#linux#sed#bash#cheatsheet#text-processing
Read more

NAT у Linux. Трансляція адрес, iptables та nftables

Навіщо виник NAT, як працюють SNAT, DNAT, masquerading і conntrack. Практичні приклади iptables та nftables, hairpin NAT, CGNAT і трансляція в IPv6.

#networking#nat#linux#iptables#nftables#ipv6
Read more

Bash Scripting Cheatsheet

_targets bash 4 and newer_ 1. Script anatomy and strict mode A bash script is a text file of commands the shell reads top to bottom. What separates a reliable s…

#bash#scripting#linux#shell#cheatsheet
Read more

`libalternatives` в openSUSE

Управління декількома версіями одного інструмента - правильний шлях для сучасних дистрибутивів. --- Table of Contents 1. Вступ: навіщо потрібен механізм альтерн…

#linux#opensuse#btrfs#alternatives
Read more

Creating a Snap Package on Ubuntu and Linux

What is a snap? A snap is a compressed SquashFS image containing your application, its bundled dependencies, and metadata that tells snapd how to launch it and …

#snap#snapcraft#packaging#ubuntu#linux#loop#lsblk
Read more

Control Groups (cgroups) in Linux

cgroups - Control Groups in Linux Table of Contents 1. What Are cgroups? 2. A Brief History 3. Core Concepts and Terminology 4. cgroups v1 Architecture 5. cgrou…

#linux#cgroups#kernel#containers#systemd#docker#kubernetes
Read more

Two-factor authentication for SSH access to the server

Let's try to set up two-factor authentication (2FA) for SSH access to a server. There are many applications for various devices, both open-source and proprietar…

#security#2fa
Read more

`update-alternatives` in Linux

Managing multiple versions of the same tool — the right way. --- Table of Contents 1. [What Is update-alternatives ?](#what-is-update-alternatives) 2. How It Wo…

#linux
Read more

Distrobox

Content: 1. What is Distrobox? 2. Distrobox cheatsheet Distrobox is a powerful containerization tool for Linux that allows you to run different Linux distributi…

#linux#distrobox#containers
Read more

Entropy in Computer Science

1. What is entropy and where did it come from in IT The word "entropy" came into computer science from physics — and it's no coincidence. In 1865, Rudolf Clausi…

#linux#security#entropy
Read more