Articles by Dejan Panovski
id Command in Linux: Display User and Group Information
The id command prints real and effective user IDs, group IDs, and supplemental group memberships for any user on a Linux system.

sed Delete Lines: Remove Lines by Number, Pattern, or Range
Remove lines from files with sed using line numbers, patterns, ranges, and regular expressions. Covers preview mode, in-place editing, and common recipes.

How to Rename Directories in Linux
Rename single or multiple directories from the Linux command line using the mv command, for loops, and the rename utility.

w Command in Linux: Show Logged-In Users and Activity
Learn how to use the w command in Linux to see logged-in users, idle time, load averages, and what each user is doing.

sysctl Command in Linux: View and Change Kernel Parameters
Learn how to use the sysctl command to view, set, and persist Linux kernel parameters, with practical examples for common settings.

Install xrdp on Raspberry Pi: Remote Desktop Setup Guide
Set up xrdp on Raspberry Pi OS and connect over Remote Desktop from Windows, macOS, or Linux. Includes desktop install steps and first login.

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.

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.

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.

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.

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.

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.

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

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.

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.

