All Articles
Browse all Linuxize tutorials, guides, and references.
pstree Command in Linux: View the Process Tree
Use the pstree command in Linux to display running processes as a tree, show PIDs and PGIDs, trace parent processes, and highlight specific branches.

Python if, elif, and else Statements
Learn how to use Python if, elif, and else statements to control program flow, test conditions, and handle multiple branches with practical examples.

Python f-Strings: String Formatting in Python 3
Python f-strings (formatted string literals) let you embed expressions directly inside strings. This guide covers basic usage, expressions, format specifiers, alignment, number formatting, and the debugging shorthand.

How to Allow Remote Connections to MySQL Database Server
Allow remote connections to MySQL or MariaDB by updating bind-address, granting access to a remote user, opening port 3306 in the firewall, and verifying the connection.

Bash read Command
The Bash read command reads a line from standard input and splits it into variables. This guide covers IFS, prompts, silent input, timeouts, arrays, file reading, and practical script examples.

How to Create a systemd Service File in Linux
Create a systemd service file in Linux with step-by-step instructions for unit file structure, service types, restart policies, and service management with systemctl.

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.

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

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

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.

journalctl Command in Linux: Query and Filter System Logs
journalctl queries the systemd journal and lets you filter logs by unit, time, priority, boot, and process. This guide covers the most useful journalctl options with practical examples.
