Linux & Shell
Search titles, article text and code examples. Use multiple words to narrow results.
19 articles found
View all articlesяк ядро Linux знаходить потрібний пристрій
Major каже ядру, який драйвер обслуговує файл пристрою, а minor — з яким саме пристроєм цей драйвер має працювати; обидва числа з'являються під час роботи ядра,…
Loop-пристрої в Linux
Як Linux підключає файл як блоковий пристрій; чому Snap створює /dev/loop; як читати й фільтрувати lsblk; як створити й змонтувати власний образ.
як працює DNS та як налаштувати в системі й браузері
Як працює DNS і як налаштувати DoH та DoT. Що бачить провайдер, як пов’язані DNS, HTTPS, Cloudflare/CDN, VPN і Tor.
Advanced AWK Cheatsheet
Advanced AWK recipes
AWK Cheatsheet
A practical AWK reference
GNU AWK Time Functions Cheatsheet
GNU AWK time functions
GNU AWK Time One-Liners Cheatsheet
Copyable GNU AWK recipes for date conversions, log filtering, Apache reports, CSV timestamps, time zones and calendar calculations.
grep Cheatsheet
A practical grep reference with examples
ripgrep Cheatsheet
A practical ripgrep reference
sed Cheatsheet
A practical sed reference with tested examples
NAT у Linux. Трансляція адрес, iptables та nftables
Навіщо виник NAT, як працюють SNAT, DNAT, masquerading і conntrack. Практичні приклади iptables та nftables, hairpin NAT, CGNAT і трансляція в IPv6.
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…
`libalternatives` в openSUSE
Управління декількома версіями одного інструмента - правильний шлях для сучасних дистрибутивів. --- Table of Contents 1. Вступ: навіщо потрібен механізм альтерн…
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 …
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…
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…
`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…
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…
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…