Articles by Dejan Panovski
Bash printf Command
A practical guide to printf in Bash: formatting numbers, strings, and alignment.

Redirect HTTP to HTTPS in Nginx
How to redirect HTTP to HTTPS in Nginx using a separate server block with a 301 redirect — for a single site or all sites on the server.

Bash Comparison Operators
Learn how to use comparison operators in Bash to compare integers and strings in your shell scripts.

shutdown Command in Linux: Power Off, Reboot, and Schedule
How to use the shutdown command in Linux to power off, halt, or reboot the system immediately or at a scheduled time, with examples of all common options.

git diff Command: Show Changes Between Commits
How to use git diff to compare working directory changes, staged files, commits, and branches — with practical examples and common options explained.

How to Build Docker Images with Dockerfile
How to write a Dockerfile, build a Docker image with docker build, and run a container — with a practical Ubuntu 24.04 example and common Dockerfile instructions explained.

git log Command: View Commit History
How to use git log to browse commit history, filter by author, date, and keyword, view changed files, display branch graphs, and format output for scripts and terminals.

dmesg Command in Linux: Read and Filter Kernel Messages
How to use the dmesg command in Linux to read kernel ring buffer messages, filter by log level and facility, display human-readable timestamps, and watch for new events in real time.

How to Create a sudo User on Debian
Create a sudo user on Debian 11, 12, and 13 by adding a new account and granting sudo privileges through the sudo group or the sudoers file.

paste Command in Linux: Merge Lines from Files
Use the paste command in Linux to merge lines from multiple files side by side, change delimiters, and serialize output with practical examples.

git stash: Save and Restore Uncommitted Changes
How to use git stash to temporarily save uncommitted changes, switch branches, and restore your work — with examples for stashing untracked files, named stashes, and partial stashes.

How to Install pip on Debian 11, 12, and 13
Step-by-step instructions for installing pip3 on Debian 11, 12, and 13 using apt, with examples for installing, upgrading, and removing Python packages.

rpm Command in Linux: Install, Query, and Verify Packages
Use the rpm command in Linux to install, upgrade, remove, query, and verify RPM packages on Fedora, RHEL, AlmaLinux, Rocky Linux, and other RPM-based distributions.

How to Transfer Files with Rsync over SSH
Use rsync over SSH to copy and synchronize files and directories between local and remote systems, with examples for custom ports, dry runs, compression, and progress display.

pstree Command in Linux: View the Process Tree
Use the pstree command in Linux to display running processes as a tree, show PIDs and PGIDs, trace parent processes, and highlight specific branches.

Linux File Permissions Explained
Linux file permissions control who can read, write, and execute files and directories. This guide explains permission classes, symbolic and numeric chmod modes, and special bits such as setuid, setgid, and the sticky bit.

du Command in Linux: Check Disk Usage
The du command reports disk space used by files and directories. This guide covers human-readable output, summary totals, depth limiting, sorting by size, and practical examples.

Python if, elif, and else Statements
Learn how to use Python if, elif, and else statements to control program flow, test conditions, and handle multiple branches with practical examples.

How to Mount ISO File on Linux
Mount an ISO file on Linux with the mount command and a loop device, or use the GNOME Disk Image Mounter for a graphical method. Includes read-only mounting, unmount steps, and troubleshooting.

Python f-Strings: String Formatting in Python 3
Python f-strings (formatted string literals) let you embed expressions directly inside strings. This guide covers basic usage, expressions, format specifiers, alignment, number formatting, and the debugging shorthand.

