Articles by Dejan Panovski
Bash while Loop: Syntax and Examples
Bash while loop syntax and examples: infinite loops, reading files line by line, arithmetic conditions, and the break and continue statements.

Bash: Check if String Contains Substring
Four ways to check if a string contains a substring in Bash: wildcard matching, the case statement, the regex operator, and grep. Includes examples and a Quick Reference.

Network Bandwidth Monitoring Tools: iftop, nload, bmon, and vnstat
Compare nload, iftop, bmon, and vnstat for checking Linux network bandwidth in real time and tracking historical traffic usage.

rm Command in Linux: Remove Files and Directories
Use the rm command in Linux to delete files and directories, with examples for recursive removal, force mode, prompts, glob patterns, and safer rm -rf usage.

Bash set Command: set -e, set -x, and set -u Explained
How the bash set builtin changes shell behavior, with practical examples of set -e to exit on errors, set -u to catch unset variables, set -x to trace execution, and pipefail.

How to List Installed Packages on Debian
List installed packages on Debian with apt, dpkg-query, and apt-mark. Includes filtering, installed versions, manual packages, package counts, export lists, and restore commands.

localhost: 127.0.0.1 and Loopback Explained
Localhost is the hostname for your own computer. This guide explains how localhost, 127.0.0.1, ::1, loopback, /etc/hosts, and 0.0.0.0 work on Linux and other systems.

ripgrep Command in Linux: Fast Recursive Search
The ripgrep command searches directories recursively while respecting ignore files. This guide explains rg syntax, file type filters, context lines, replacement previews, and config defaults.

nslookup Command in Linux: Query DNS Records
The nslookup command queries DNS servers for domain records. This guide covers A, MX, NS, TXT, and AAAA lookups, reverse DNS, interactive mode, and choosing a specific name server.

whois Command in Linux: Query Domain Registration Info
The whois command looks up domain registration, registrar, name server, expiry, IP allocation, and AS number details from Linux.

How to Revert a Commit in Git
Use git revert to safely undo changes from a previous commit by adding a new commit that reverses them, without rewriting pushed history.

How to Install and Use Zsh on Ubuntu
Install Zsh on Ubuntu, set it as the default shell, configure ~/.zshrc, and add Oh My Zsh themes and plugins for daily terminal work.

Bash Arithmetic: Integer and Floating-Point Math
How to do arithmetic in Bash with the (( )) operator, $(( )) expansion, the let builtin, and bc or awk for floating-point math the shell cannot do natively.

How to Format USB Drives and SD Cards on Linux
Step-by-step instructions for formatting USB drives and SD cards on Linux using parted and mkfs. Covers FAT32, exFAT, EXT4, and NTFS filesystems with partition table setup and verification.

dnf Command in Linux: Install, Update, and Manage Packages
Common dnf commands for installing, updating, removing, searching, and managing packages on Fedora, RHEL, Rocky Linux, AlmaLinux, and other RPM-based systems.

rsync Exclude Patterns: Skip Files and Directories
Exclude files and directories from an rsync transfer with --exclude and --exclude-from, glob patterns, and dry-run previews, with copy-paste examples.

Docker Networking: Connect Containers
Docker networking controls how containers communicate. This guide covers bridge, host, and none networks, port publishing, container DNS, isolation, and Compose networking.

How to Use the kill Command in Linux
Learn how to use the kill command in Linux to terminate processes, send signals, and reload services with practical examples.

How to List and Delete UFW Firewall Rules
Learn how to list active UFW rules, then delete them by number or specification. Includes status verbose, numbered output, rule reset, and SSH lockout recovery.

How to Install Nginx on Debian 13
Step-by-step instructions for installing and configuring Nginx on Debian 13 Trixie using apt, including UFW rules, the systemd service, and your first server block.

