Articles by Dejan Panovski
zip Command in Linux: Zip Files and Directories
Create ZIP archives in Linux with the zip command. Zip directories recursively, exclude files, add a password, and split large archives.

jq Command: Process JSON from the Terminal
How to use the jq command to read, filter, and transform JSON on the command line, from selecting fields to building new objects and parsing API responses.

passwd Command in Linux: Change User Passwords
Change your own, another user's, or the root password in Linux with the passwd command. Covers password expiry with chage, forcing a change at next login, and account locking.

Linux Folder Size: How to Check File and Directory Sizes
Check folder and file sizes in Linux with du. Compare directory totals, rank subdirectories, exclude paths, and check free space with df.

How to Use OpenSSL: Generate Keys, Certificates, and Test TLS
Practical OpenSSL guide for Linux: generate private keys, create CSRs and self-signed certificates, convert formats, inspect certificates, and test TLS connections.

How to Generate a Random Password or String in Linux
Generate random passwords and strings in Linux with openssl rand, /dev/urandom, pwgen, and Python. Choose hex, Base64, URL-safe tokens, or passphrases.

How to Install Java on Ubuntu 26.04
Install OpenJDK 25, the Ubuntu 26.04 default, or Oracle JDK 25 and 27. Also covers other OpenJDK versions, switching between them, and JAVA_HOME.

apt vs apt-get: The Difference and When to Use Each
apt and apt-get are not the same tool: apt is built for interactive terminal use, apt-get for scripts and automation. Compare their commands and see when to use each.

Fix SSH "Too Many Authentication Failures" Error
Fix SSH 'Too many authentication failures' by selecting the right key with IdentitiesOnly, skipping keys for password login, and checking MaxAuthTries.

How to Change a Git Remote's URL
Change a Git remote URL with git remote set-url, switch between HTTPS and SSH, set separate push and fetch URLs, and verify the change.

Python Switch Case Statement (match-case)
Learn how to use Python's match-case statement (structural pattern matching) as a switch-case equivalent. Covers if-elif-else, dictionary lookup, and match-case with examples.

Fix "npm ERR! Missing Script: dev"
npm run dev fails with 'Missing script: dev' when package.json has no dev key. Find the script the project actually uses, or add one that starts its dev server.

git diff Command: Compare Changes Between Commits and Branches
Use git diff to compare your working directory, staged files, commits, and branches, with practical examples of the options you will use most.

Fix Nginx "Request Header or Cookie Too Large" Error
Resolve Nginx's 400 Request Header or Cookie Too Large error: clear site cookies, adjust large_client_header_buffers, and check the active configuration.

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.

How to Check Java Version
Find out which Java version is installed on your system, check the JDK compiler version, and manage multiple Java installations from the command line.

SSH Tunnel: Local, Remote, and Dynamic Port Forwarding
Set up SSH tunnels with the -L, -R, and -D options for local, remote, and dynamic port forwarding, with working examples for Linux, macOS, and Windows.

How to Mount a Windows Share on Linux Using CIFS
Mount a Windows SMB share on Linux with CIFS, use a credentials file, set ownership and permissions, and create a reliable fstab entry.

How to Install PostgreSQL on Debian 13
Install PostgreSQL 17 on Debian 13, create an application role and database, and configure password authentication and remote access.

ln Command in Linux: Create Symbolic Links
The ln command creates symbolic links on Linux, giving you a stable name that points to a moving target. This guide covers creating, updating, and cleaning up symlinks, plus safe symlink updates for deployments.

