All Articles
Browse all Linuxize tutorials, guides, and references.
Find and Replace in Vim / Vi
Step-by-step guide to finding and replacing text in Vim using the :substitute command. Covers ranges, flags, regex, case sensitivity, and practical examples.

Bash Comments: Single-Line, Multiline, and Best Practices
Learn how to comment in Bash scripts with single-line, inline, and multiline comment patterns. Includes block comment workarounds and best practices for readable shell scripts.

xargs Command in Linux: Usage and Examples
The xargs command builds and executes commands from standard input. This guide covers the most useful xargs options with practical examples.

locate Command in Linux: Find Files Quickly
Search for files and directories by name using the locate command in Linux. Covers installation, database updates, pattern matching, and common options.

How to Set Up SFTP Chroot Jail
Step-by-step instructions for setting up an SFTP Chroot Jail on Linux to restrict users to their home directories using OpenSSH.

How to Truncate Files in Linux: Empty Files Without Deleting
Empty a file without deleting it using shell redirection or the truncate command. Covers permissions, sudo workarounds, and truncating log files.

How to Use the Linux ftp Command to Transfer Files
Transfer files to and from a remote server using the Linux ftp command. Covers connections, downloads, uploads, passive mode, and binary transfers.

How to Install Git on Debian 13
Step-by-step instructions for installing and configuring Git on Debian 13 Trixie using apt or by compiling from source.

rename Command in Linux: Rename Multiple Files
Batch rename files in Linux with the rename command using Perl regular expressions. Includes syntax, examples, and tips for the Perl and C versions.

pgrep Command in Linux: Find and Filter Running Processes
The pgrep command finds running processes by regex pattern, user, terminal, or parent PID and prints matching PIDs. This guide covers exact matching, filtering options, and script-friendly exit checks.

unlink Command in Linux: Remove a Single File
The unlink command removes a single file by deleting its directory entry. This guide explains how to use unlink, how it differs from rm, and what to expect when removing files and symbolic links.

How to Change the SFTP Port
SFTP runs on SSH port 22 by default. This guide explains how to change the SFTP port on Linux, configure your firewall for the new port, and connect using the updated port number.

uniq Command in Linux: Remove and Count Duplicate Lines
The uniq command removes or counts duplicate adjacent lines in a file. This guide explains how to filter duplicates, count occurrences, and use uniq with sort in pipelines.

How to Install Git on Raspberry Pi
Install and configure Git on Raspberry Pi OS using apt or build the latest version from source. Includes configuration steps, troubleshooting, and FAQ.

Using curl to Make REST API Requests
Use curl to test and interact with REST APIs from the command line. Covers GET, POST, PUT, PATCH, DELETE, authentication, and response inspection with examples.

pwd Command in Linux: Print the Current Working Directory
The pwd command prints the current working directory in Linux. This guide covers pwd syntax, the -L and -P options, the $PWD variable, and how symlinks affect the output.

How to Install TeamViewer on Ubuntu 24.04
Step-by-step instructions for installing TeamViewer on Ubuntu 24.04. Covers downloading the .deb package, launching the application, keeping it up to date, and removing it.

ifconfig Command in Linux: Configure Network Interfaces
Configure and view network interfaces in Linux using ifconfig. Covers IP assignment, enabling and disabling interfaces, MTU, MAC address changes, and modern ip command equivalents.

groupdel Command in Linux: Delete a Group
Learn how to delete a Linux group using the groupdel command. Covers syntax, verification, handling primary group errors, and what happens to files owned by the deleted group.

top Command in Linux: Monitor Processes in Real Time
The top command displays running processes and system resource usage in real time. This guide covers sorting, filtering, load metrics, and key interactive controls.
