All Articles
Browse all Linuxize tutorials, guides, and references.
Bash until Loop
Repeat commands until a condition becomes true with the Bash until loop. Includes syntax, practical examples, and comparisons with the while loop.

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.

Crontab: Scheduling Cron Jobs in Linux
Cron is a Linux scheduling daemon that runs tasks at defined intervals. This guide explains crontab syntax, operators, predefined macros, environment variables, and practical scheduling examples.

ss Command in Linux: Display Socket Statistics
The ss command displays socket statistics and open ports and is the modern replacement for netstat. This guide explains how to list TCP, UDP, and Unix sockets, filter by port and state, and identify which process owns a socket.

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.

Bash case Statement: Match Patterns in Shell Scripts
The Bash case statement matches a value against a list of patterns and runs the corresponding block. This guide explains argument parsing, syntax, glob patterns, multiple matches, and fall-through behavior.

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.

umask Command in Linux: Set Default File Permissions
The umask command sets the default permission mask for newly created files and directories. This guide explains how umask works, how to calculate its value, and how to make it permanent.

head Command in Linux: Display the First Lines of a File
The head command prints the first lines or bytes of one or more files. Learn how to use head to preview files, limit pipeline output, and inspect logs.

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.

How to Start, Stop, and Restart Apache on Linux
Manage the Apache web server with systemctl on Ubuntu, Debian, Fedora, and RHEL. Covers start, stop, restart, reload, status, enable on boot, and config testing.

ssh Command in Linux: Connect to Remote Servers
Connect to remote servers securely using the ssh command. Covers basic connections, key-based authentication, SSH config files, running remote commands, port forwarding, and troubleshooting.

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.

Check Open Ports in Linux: nmap, netcat, and Bash
Three ways to check which ports are open on a Linux system from the command line: nmap, netcat, and the Bash /dev/tcp pseudo-device.

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.
