Articles by Dejan Panovski
How to Check Memory Usage in Linux
Check RAM and swap usage in Linux with free, top, /proc/meminfo, and ps_mem, and find out which processes are consuming the most memory.

Fix the NO_PUBKEY GPG Error on apt update
Fix the apt NO_PUBKEY error on Ubuntu and Debian by installing a verified repository signing key under /etc/apt/keyrings and using signed-by.

Create a Linux Swap File
How to create and enable a swap file on Linux, configure swappiness, resize an existing swap file, and remove it when no longer needed.

ifconfig Command in Linux: Configure Network Interfaces
Read the ifconfig output field by field, fix command not found, and assign IPv4 and IPv6 addresses, MTU, and MAC values, with the ip equivalent alongside.

How to Change the Swappiness Value in Linux
Check and change Linux swappiness with sysctl, including the 0 to 200 range, persistent settings, and guidance for disk swap and zram.

dpkg Command in Linux: Install and Manage Debian Packages
Use dpkg to install, remove, query, and inspect Debian packages on Ubuntu, Debian, and other Debian-based distributions.

Sudo Command in Linux: Run Commands as Root
The sudo command runs programs as root or another user. This guide covers sudoers setup, root shells, sudoedit, credential caching, and common sudo options.

How to Increment and Decrement a Variable in Bash: Counter Examples
Bash provides several ways to increment and decrement a counter variable in scripts. This guide covers the +/- operators, += and -= assignment operators, and the ++ and -- shorthand with practical examples.

How to List Cron Jobs in Linux
View and list all cron jobs on Linux: user crontabs with crontab -l, system jobs in /etc/crontab and /etc/cron.d, and systemd timers.

How to Install Google Chrome Web Browser on Ubuntu 24.04
Step-by-step instructions for downloading, installing, updating, and managing Google Chrome on Ubuntu 24.04 using the official .deb package and repository.

What Is localhost? 127.0.0.1 and Loopback Explained
Localhost connects programs back to your own computer through 127.0.0.1 or ::1. See how loopback addresses, ports, /etc/hosts, and 0.0.0.0 work on Linux.

How to Install Google Chrome on Ubuntu 26.04
Install Google Chrome on Ubuntu 26.04 from the official .deb package, set it as the default browser, and keep it updated from the Google repository.

How to Pass Arguments to a Bash Script
Read command-line input in Bash: positional parameters, $@ versus $*, default values, named --options, getopts, and fixes for common argument errors.

nice and renice Commands in Linux: Set Process Priority
Control Linux process priority with nice and renice. See how nice values work, start lower-priority jobs, and change the priority of running processes.

How to List and Delete UFW Firewall Rules
List UFW firewall rules with ufw status and ufw show, then delete them by number or by specification. Covers numbered output, the show reports, rule reset, and SSH lockout recovery.

How to Mount an NFS Share in Linux
Step-by-step instructions for mounting an NFS share in Linux: install the client, mount manually, persist with /etc/fstab, and troubleshoot common errors.

How to Install Java on Ubuntu 24.04
Install Java 25, Java 21, and Oracle JDK on Ubuntu 24.04. This guide covers OpenJDK packages, default Java selection, and JAVA_HOME setup.

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.

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.

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.

