Articles by Dejan Panovski
How to Set Up a Firewall with UFW on Ubuntu 24.04
Step-by-step instructions for configuring and managing a UFW firewall on Ubuntu 24.04. UFW is a user-friendly front-end for managing iptables firewall rules.

How to Remove Docker Images, Containers, Volumes, and Networks
Remove unused Docker containers, images, volumes, and networks to free disk space. Covers docker system prune, selective removal, filters, and force options.

apt vs apt-get: What Is the Difference?
Understand the difference between apt and apt-get in Debian and Ubuntu. When to use each tool, how the commands map to each other, and which one belongs in your scripts.

How to Create a Self-Signed SSL Certificate with OpenSSL
Generate a self-signed SSL/TLS certificate and private key on Linux using the openssl command. Covers RSA and ECDSA keys, Subject Alternative Names (SAN), and non-interactive generation.

Configuring the Nginx Error and Access Logs
This guide explains how to configure Nginx access and error logs, define custom log_format directives, and inspect log entries on Linux.

whereis Command in Linux: Find Binary, Source, and Man Pages
The Linux whereis command locates the binary, source, and manual page files for a given command. This guide covers all options with practical examples.

Configuring the Apache Error and Access Logs
How to configure and read Apache access and error logs, including log formats, virtual host logging, log file locations, and filtering log output.

Delete Files and Directories in Python: os, pathlib, and shutil
How to delete single files, match and remove files by pattern, and remove directories in Python using the os, pathlib, and shutil modules.

git clone: Clone a Repository
How to use git clone to copy a remote or local repository, clone a specific branch, and create shallow clones, with examples for HTTPS and SSH.

date Command in Linux: Format, Timezone, and Epoch
Step-by-step guide to the Linux date command: format output, convert timezones, work with Unix timestamps, and set the system clock.

whoami Command in Linux: Display the Current User Name
The whoami command shows the current effective username on Linux. This guide explains syntax, practical examples, shell script usage, and how it compares to id -un and $USER.

How to Connect to a Docker Container
This guide explains how to connect to a running Docker container using docker exec and docker attach, with examples for getting a shell, running commands, and viewing logs.

How to Copy Files and Directories in Linux
Step-by-step guide to copying files and directories in Linux with the cp and rsync commands. Covers recursive copies, preserving permissions, and common examples.

How to Enable and Disable Root User Account in Ubuntu
This guide explains how to enable and disable the root user account in Ubuntu using the passwd command, and covers safer alternatives like sudo -i and su -.

jobs Command in Linux: List and Manage Background Jobs
The jobs command lists background and suspended processes in the current shell session. This guide covers syntax, options, job specifications, and practical examples.

Docker Compose: Define and Run Multi-Container Apps
A complete guide to Docker Compose V2 — define multi-container apps with a YAML file, run a SvelteKit and PostgreSQL development environment, and learn the most common Compose directives and commands.

modprobe Command in Linux: Load and Manage Kernel Modules
Manage Linux kernel modules with modprobe: load, unload, blacklist, and configure module parameters. Includes syntax, practical examples, and troubleshooting.

pushd and popd Commands in Linux: Navigate Directories with a Stack
The pushd and popd commands let you save directories to a stack and jump between them instantly. This guide covers syntax, the dirs command, stack rotation, and practical workflow examples.

How to Use SSHFS to Mount Remote Directories over SSH
SSHFS lets you mount a remote directory over SSH and browse it like a local filesystem. This guide covers installation on Linux, macOS, and Windows, mounting with options, persistent fstab mounts, and troubleshooting.

How to Mount exFAT Drives on Ubuntu 24.04 and 22.04
Mount exFAT USB drives and SD cards on Ubuntu 24.04, 22.04, and older releases. This guide covers automatic and manual mounting, exFAT utilities, fstab entries, and fixes for common errors.

