Articles by Dejan Panovski
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.

How to Create a sudo User on Debian
Create a sudo user on Debian 11, 12, and 13 by adding a new account and granting sudo privileges through the sudo group or the sudoers file.

paste Command in Linux: Merge Lines from Files
Use the paste command in Linux to merge lines from multiple files side by side, change delimiters, and serialize output with practical examples.

git stash: Save and Restore Uncommitted Changes
How to use git stash to temporarily save uncommitted changes, switch branches, and restore your work — with examples for stashing untracked files, named stashes, and partial stashes.

rpm Command in Linux: Install, Query, and Verify Packages
Use the rpm command in Linux to install, upgrade, remove, query, and verify RPM packages on Fedora, RHEL, AlmaLinux, Rocky Linux, and other RPM-based distributions.

How to Transfer Files with Rsync over SSH
Use rsync over SSH to copy and synchronize files and directories between local and remote systems, with examples for custom ports, dry runs, compression, and progress display.

pstree Command in Linux: View the Process Tree
Use the pstree command in Linux to display running processes as a tree, show PIDs and PGIDs, trace parent processes, and highlight specific branches.

Python if, elif, and else Statements
Learn how to use Python if, elif, and else statements to control program flow, test conditions, and handle multiple branches with practical examples.

Python f-Strings: String Formatting in Python 3
Python f-strings (formatted string literals) let you embed expressions directly inside strings. This guide covers basic usage, expressions, format specifiers, alignment, number formatting, and the debugging shorthand.

type Command in Linux: Show Command Type and Location
The type command shows whether a name is a shell builtin, alias, function, keyword, or executable file, and how the current shell resolves it.

How to Check Memory Usage in Linux
Step-by-step guide to checking RAM usage in Linux using free, top, /proc/meminfo, and ps_mem — with examples for megabytes, gigabytes, and per-process memory.

How to Enable SSH on Ubuntu
Enable SSH on Ubuntu by installing OpenSSH Server, starting the ssh service, allowing it through UFW, and connecting remotely from Linux, macOS, or Windows.

How to Allow Remote Connections to MySQL Database Server
Allow remote connections to MySQL or MariaDB by updating bind-address, granting access to a remote user, opening port 3306 in the firewall, and verifying the connection.

Linux ip Command with Examples
A practical guide to the Linux ip command: show and configure network interfaces, assign IP addresses, manage routes, and inspect the ARP table with real examples.

Bash read Command
The Bash read command reads a line from standard input and splits it into variables. This guide covers IFS, prompts, silent input, timeouts, arrays, file reading, and practical script examples.

Using the SSH Config File
Set up the SSH client config file to manage multiple remote connections with custom hostnames, users, ports, keys, and jump hosts — all without long command-line flags.

chown Command in Linux: Change File Ownership
Use the chown command in Linux to change file and directory ownership, including recursive changes, symbolic links, and practical ownership examples.

How to Check Python Version
How to check the Python version installed on Linux, macOS, or Windows using the command line, and how to check the version programmatically from within a Python script.

How to Change the Swappiness Value in Linux
Check and change the swappiness value in Linux with `sysctl`, including temporary and persistent methods and recommended values for desktops, servers, and database workloads.

How to Create a systemd Service File in Linux
Create a systemd service file in Linux with step-by-step instructions for unit file structure, service types, restart policies, and service management with systemctl.

