All Articles
Browse all Linuxize tutorials, guides, and references.
Bash: Write to File
Redirect output to files in Bash using the > and >> operators, tee command, and heredocs, with examples for overwriting, appending, and writing multiple lines.

curl POST Request Examples
Send POST requests with curl using form data, JSON, file uploads, and multipart encoding. Includes examples for APIs and HTML forms.

Bash Best Practices: Writing Safer, Cleaner Scripts
Practical Bash best practices for writing safer and more predictable scripts, covering strict mode, quoting, error handling, and everyday patterns.

How to Install LEMP Stack on Ubuntu 26.04
Set up a LEMP stack on Ubuntu 26.04 with Nginx, MySQL 8.4, PHP 8.5, PHP-FPM, and a working PHP database test.

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 LAMP Stack on Ubuntu 26.04
Install Apache, MySQL 8.4, and PHP 8.5 on Ubuntu 26.04, configure an Apache virtual host, and test PHP database access.

SSH SOCKS Proxy: Create a SOCKS5 Tunnel for Browsing
Create an SSH SOCKS proxy with a SOCKS5 tunnel, configure Firefox or Chrome to use it, proxy DNS requests, and verify the browser exits through your SSH server.

How to Use the pkill Command in Linux
The pkill command sends signals to Linux processes by name, user, terminal, or full command pattern. Covers safe matching, common options, and examples.

Nginx Location Blocks: Match Rules and Priority
How Nginx picks a location block: prefix, exact, and regex matches, the priority order, named locations, and common configuration patterns.

How to Install Google Chrome Web Browser on Ubuntu 24.04
Step-by-step instructions for downloading, installing, updating, and managing Google Chrome on Ubuntu 24.04 using the official .deb package and repository.

Linux Kill Process: Stop Processes by PID or Name
Stop stuck programs in Linux with kill, killall, pkill, and xkill. Find the PID, send SIGTERM first, and use SIGKILL only when the process refuses to exit.

How to Add a User to Sudoers in Ubuntu
Grant sudo privileges in Ubuntu by adding a user to the sudo group or editing the sudoers file. Step-by-step examples and common errors.

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.
