Articles by Dejan Panovski
How to Install Node.js and npm on Ubuntu 22.04
Three ways to install Node.js and npm on Ubuntu 22.04: NodeSource for Node.js 26 LTS, nvm for multiple versions, and the default Ubuntu packages.

How to Install Node.js and npm on Ubuntu 24.04
Install Node.js 26 LTS or Node.js 24 and npm on Ubuntu 24.04 with apt, the NodeSource repository, or nvm, including upgrade and uninstall steps.

How to Install Node.js and npm on Ubuntu 26.04
Set up Node.js 26 LTS and npm on Ubuntu 26.04 using NodeSource, nvm, or the Ubuntu repository, with steps for Node.js 24, upgrades, and removal.

Linux Network Bandwidth Monitoring Tools: iftop, nload, bmon, vnstat
Compare nload, iftop, nethogs, bmon, and vnstat for checking Linux network bandwidth per interface, connection, and process, and over time.

sort Command in Linux: Sort Lines of Text
Sort lines in Linux alphabetically, numerically, or by column with sort -k and -t. Covers reverse, unique, version, and in-place sorting with examples.

stat Command in Linux: Display File and Filesystem Information
stat shows a file's size, inode, permissions, and timestamps. Read its output, check filesystem details, and print single fields for scripts with --format.

Fix GRUB Rescue: Repair the GRUB Bootloader on Ubuntu
Stuck at the grub rescue> prompt? Boot Ubuntu from the rescue shell, then reinstall GRUB from the running system or a live USB on BIOS and UEFI machines.

apt Command in Linux
How to use apt on Ubuntu and Debian, from sudo apt update and apt install to upgrades, removals, searches, and fixes for common lock and package errors.

How to Read a File Line By Line in Bash
Read a file line by line in Bash with while and read, loop over lines with for and mapfile, load a file into a variable, and avoid common pitfalls.

Fix Docker "Error Getting Credentials"
Fix Docker's 'error getting credentials' message by checking config.json, repairing missing credential helpers, and resolving keyring or pass errors.

Docker: List Running and Stopped Containers
Use docker container ls and docker ps to list running and stopped containers, print names and IDs, filter results, and check Docker Compose projects.

How to Concatenate Strings in Bash
Concatenate strings in Bash by placing variables side by side, appending with +=, or formatting with printf -v. Covers loops, numbers, and sh scripts.

How to Check Your Debian Version: Commands and Release List
Debian 13 (trixie) is the current stable release. Check your version with /etc/os-release, lsb_release, or hostnamectl, plus codenames and support dates.

How to Check Your Ubuntu Version
Check which Ubuntu version you are running with lsb_release, /etc/os-release, or hostnamectl, plus a current release list up to Ubuntu 26.10.

How to Set Environment Variables in Linux
Set environment variables in Linux and Bash with export, list them with printenv, and make them permanent in ~/.bashrc, /etc/environment, or environment.d.

How to Undo and Redo in Vim / Vi
Undo and redo in Vim or Vi with u, Ctrl+r, :earlier, and :later. Covers time-based undo, undo branches, and persistent undo with undofile.

How to Set Up NTP with chrony on Ubuntu
Configure chrony on Ubuntu, choose NTP servers, check time synchronization, and serve accurate time to other machines on your local network.

How to Install Ubuntu 26.04
Step-by-step instructions for installing Ubuntu 26.04 LTS from a bootable USB drive, covering the 26.04.1 ISO, installer screens, disk setup, and first boot.

nohup Command in Linux: Background Jobs and Output
nohup keeps commands running after logout. The 'appending output to nohup.out' message is not an error. This guide covers background jobs, 2>&1 redirection, and stopping processes.

Fix 504 Gateway Timeout Error in Nginx
Diagnose Nginx 504 Gateway Timeout errors using upstream logs and response times. Fix slow applications or adjust proxy_read_timeout and PHP-FPM timeouts.

