Articles by Dejan Panovski
How to Run Sudo Command Without Password
Configure the sudoers file or a drop-in file in /etc/sudoers.d to let a user or group run sudo commands without a password prompt.

tmux Command in Linux: Sessions, Windows, and Panes
The tmux command lets you run persistent terminal sessions with multiple windows and panes. This guide covers creating and managing sessions, splitting panes, copy mode, and configuration.

curl Command in Linux: Usage and Examples
The curl command transfers data to and from servers using HTTP, HTTPS, FTP, and other protocols. This guide covers downloads, headers, POST requests, verbose debugging, proxies, and API usage.

passwd Command in Linux: Change User Passwords
Use the passwd command to change your own or another user's password in Linux. Covers root password changes, password expiry with chage, and account locking.

How to Force HTTPS using .htaccess
Redirect all HTTP traffic to HTTPS using Apache .htaccess rewrite rules, with examples for www and non-www domain handling.

Docker Run Command with Examples
Practical examples of docker run covering detached mode, port publishing, volumes, environment variables, restart policies, and interactive shells.

file Command in Linux: Determine File Types
Identify file types from the command line using the Linux file command. Covers basic usage, MIME types, compressed files, symlinks, and the magic database.

Chattr Command in Linux (File Attributes)
How to use chattr and lsattr to set and view file attributes in Linux, including immutable files, append-only logs, and recursive protection.

How to Check Your Ubuntu Version
Find which Ubuntu version is installed on your system using the command line. Covers lsb_release, /etc/os-release, hostnamectl, and other methods.

Debian vs Ubuntu Server: Which One Should You Use?
Side-by-side comparison of Debian and Ubuntu Server covering release cycles, package freshness, security, cloud support, and ease of setup to help you pick the right one.

How to List Docker Containers
List running and stopped Docker containers with docker container ls and docker ps. Covers filtering, formatting output, showing sizes, and grabbing container IDs.

Apache Commands: Manage and Troubleshoot Your Web Server
Quick reference for essential Apache commands on Linux. Covers service control, configuration testing, modules, virtual hosts, version info, and log files.

tail Command in Linux: View the End of Files and Follow Logs
Practical examples of the tail command for viewing the end of files, following logs in real time, and combining tail with grep and other tools.

find Command in Linux: Search Files and Directories
The find command searches for files and directories by name, type, size, date, permissions, and more. This guide covers practical examples including wildcards, exec actions, and combining find with grep.

How to Extract (Unzip) tar.gz Files in Linux
Extract tar.gz and tgz archives with the tar command. Covers extracting to a directory, pulling specific files, wildcards, stdin piping, and listing archive contents.

mkdir Command in Linux: Create Directories
The mkdir command creates directories in Linux from the command line. This guide covers creating single and multiple directories, nested paths with -p, setting permissions, and brace expansion.

env Command in Linux: Show and Set Environment Variables
The env command prints environment variables and runs programs with a modified environment. This guide covers env syntax, running commands with custom variables, clean environments, and portable shebangs.

htop Command in Linux: Monitor Processes Interactively
htop is an interactive process viewer for Linux that shows CPU, memory, and swap usage in real time. This guide covers sorting, filtering, tree view, killing processes, and customizing the display.

nohup Command in Linux: Run Commands After Logout
The nohup command keeps a process running after you log out or close the terminal. This guide covers syntax, background execution, output redirection, and how to manage nohup processes.

503 Service Unavailable Error: Causes and How to Fix It
The 503 Service Unavailable error means the server cannot handle your request. This guide explains what causes it and how to fix it on Nginx and Apache.

