All Articles
Browse all Linuxize tutorials, guides, and references.
Bash Range: Sequence Expression Syntax and Examples
The Bash sequence expression generates a range of integers or characters using {START..END} syntax. This guide covers step increments, zero-padding, for loop usage, and how to handle variable ranges with seq.

Linux Watch Command
Use the watch command in Linux to run commands at regular intervals and monitor output changes in the terminal. Includes interval, highlighting, pipes, and practical examples.

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 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.

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.

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.

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.

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.

usermod Command in Linux: Modify User Accounts and Groups
The usermod command modifies user account attributes such as groups, shell, home directory, username, and expiry date. This guide covers all common options with examples.

How to Get and Change the Current Working Directory in Python
Use os.getcwd() to get the current working directory in Python, and os.chdir(path) to change it. This guide covers both the os and pathlib approaches with examples.

sort Command in Linux: Sort Lines of Text
The sort command sorts lines of text files alphabetically or numerically. This guide covers sorting by column, reverse order, unique lines, and combining sort with other commands.

wall Command in Linux: Broadcast Messages to Logged-In Users
The wall command broadcasts a message to the terminals of all logged-in users in Linux. This guide covers sending messages from arguments, files, and pipes, with group targeting and banner control.
