All Articles
Browse all Linuxize tutorials, guides, and references.
How to Remove or Delete a Directory in Linux
Remove a directory in Linux with rmdir for empty folders, rm -rf for non-empty ones, or find for bulk deletion. Examples and common errors.

How to Add and Delete Users on Debian 13
Learn how to add, delete, and manage users on Debian 13 using adduser, deluser, and usermod commands with practical examples.

How to Run a Bash Script in Linux
Run a bash script in Linux with chmod +x, the bash interpreter, or source. Step-by-step examples with common errors and fixes.

dd Command in Linux: Copy Disks, Partitions, and Files
This guide explains how to use the dd command in Linux to write ISO images, clone disks, back up partitions, wipe drives, and test disk speed.

echo Command in Linux: Print Text and Variables
How to use the echo command in Linux to print text, display variables, interpret escape sequences, and redirect output to a file. Includes colored output and common pitfalls.

ssh-copy-id Command: Copy SSH Keys to a Remote Server
How to use the ssh-copy-id command to copy your SSH public key to a remote server and set up passwordless login. Covers options, a manual fallback, and common errors.

How to Install and Use uv: Fast Python Package Manager
uv is a fast Python package and project manager written in Rust. This guide covers installation on Linux, creating projects, adding dependencies, managing virtual environments, and installing Python versions with uv.

sleep Command in Linux: Pause a Bash Script
How to use the sleep command in bash to pause script execution. Examples cover seconds, minutes, sleep infinity, retry loops, countdowns, and background sleeps.

SSH Permission Denied (publickey): Causes and Fixes
How to troubleshoot the SSH "Permission denied (publickey)" error in Linux. Covers file permissions, missing keys, SELinux, SSH agent issues, and server-side debugging.

Install and Configure Roundcube Webmail on Ubuntu 26.04
Install Roundcube Webmail on Ubuntu 26.04 with PHP-FPM, MySQL, Nginx, IMAP, SMTP submission, and server-side Sieve filters.

Install and Configure Postfix and Dovecot on Ubuntu 26.04
Postfix is an open-source mail transfer agent (MTA), a service used to send and receive emails. Dovecot is an IMAP/POP3 server and in our setup it will also handle local delivery and user authentication.

How to Use SFTP Command to Transfer Files
Use the sftp command to connect over SSH, upload and download files, transfer directories, run batch jobs, and troubleshoot common errors.

How to Install Python on Ubuntu 26.04
Install Python on Ubuntu 26.04 using the default Ubuntu packages, the deadsnakes PPA for alternate versions, or a source build. Includes pip and virtual environments.

fdisk Command in Linux: Create Disk Partitions
Use the fdisk command in Linux to list disks, create GPT or MBR partitions, change partition types, format new partitions, and mount them safely.

How to Install Python on Ubuntu 24.04
Install Python on Ubuntu 24.04 using the default Ubuntu packages, the deadsnakes PPA for newer versions, or a source build. Includes pip and virtual environments.

ps Command in Linux: ps aux and Common Options
Use ps aux and related ps command options in Linux to list running processes, read output columns, sort by CPU or memory, filter by PID or user, and show full command lines.

How to Remove a User in Linux
Remove user accounts in Linux with userdel. This guide explains how to delete a user, remove the home directory, handle logged-in users, clean up cron jobs, and find files left behind.

How to Extract tar.xz Files in Linux
Extract .tar.xz and .txz archives in Linux with tar. This guide shows the basic command, verbose extraction, extracting to a directory, listing contents, and fixing common tar.xz errors.

SSH Hardening Guide: Best Practices for Linux Servers
SSH hardening best practices for Linux servers, including sshd_config checks, key-only logins, root login restrictions, firewall rules, timeouts, and Fail2Ban.

Bash Split String: Split a String by Delimiter
How to split a string in Bash by a delimiter using read, IFS, tr, awk, and parameter expansion, with practical examples for scripts.
