Articles by Dejan Panovski
chgrp Command in Linux: Change File Group Ownership
The chgrp command changes the group ownership of files and directories in Linux. This guide covers syntax, recursive changes, symlink handling, and practical examples.

tr Command in Linux: Translate, Delete, and Squeeze Characters
The tr command translates, deletes, and squeezes characters from standard input. This guide covers tr syntax, character sets and ranges, case conversion, removing line endings, and practical pipeline examples.

iptables Command in Linux: Manage Firewall Rules
Manage Linux firewall rules with iptables. This guide covers tables and chains, listing rules, allowing and blocking ports and IP addresses, setting default policies, and saving rules across reboots.

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.

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.

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.

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 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.

How to Install Podman on Ubuntu: Rootless Container Alternative to Docker
Step-by-step instructions for installing Podman on Ubuntu, running rootless containers, building images with Buildah, and switching from Docker.

Bash String Manipulation: Substring, Replace, Length, and More
Bash string manipulation using parameter expansion: extract substrings, replace text, strip prefixes and suffixes, change case, and check for substrings with practical examples.

nmcli Command in Linux: NetworkManager CLI Reference
The nmcli command manages NetworkManager from the terminal. This guide covers device status, Wi-Fi connections, static IP configuration, DNS settings, and scripting-friendly output.

How to Delete MySQL User Accounts with DROP USER
Delete MySQL or MariaDB user accounts with the DROP USER statement. Covers single and multiple users, IF EXISTS, and session behavior.

systemctl Command in Linux: Start, Stop, and Manage Services
Manage services on systemd-based Linux distributions with systemctl. This guide explains how to start, stop, restart, enable, and disable services, reload unit files, and inspect service status.

