All Articles
Browse all Linuxize tutorials, guides, and references.
du Command in Linux: Check Disk Usage
The du command reports disk space used by files and directories. This guide covers human-readable output, summary totals, depth limiting, sorting by size, and practical examples.

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.

How to Mount ISO File on Linux
Mount an ISO file on Linux with the mount command and a loop device, or use the GNOME Disk Image Mounter for a graphical method. Includes read-only mounting, unmount steps, and troubleshooting.

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.

Understanding the /etc/passwd File
The /etc/passwd file stores user account information on Linux. Each line contains seven colon-separated fields: username, password placeholder, UID, GID, GECOS, home directory, and login shell.

type Command in Linux: Show Command Type and Location
The type command shows whether a name is a shell builtin, alias, function, keyword, or executable file, and how the current shell resolves it.

How to Check Memory Usage in Linux
Step-by-step guide to checking RAM usage in Linux using free, top, /proc/meminfo, and ps_mem — with examples for megabytes, gigabytes, and per-process memory.

How to Enable SSH on Ubuntu
Enable SSH on Ubuntu by installing OpenSSH Server, starting the ssh service, allowing it through UFW, and connecting remotely from Linux, macOS, or Windows.

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.

How to Read a File Line By Line in Bash
Read a file line by line in Bash using a while loop and the read command. This guide covers IFS splitting, processing command output, file descriptors, and common pitfalls.

Linux ip Command with Examples
A practical guide to the Linux ip command: show and configure network interfaces, assign IP addresses, manage routes, and inspect the ARP table with real examples.

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 Edit Your Hosts File on Linux, Windows, and macOS
The hosts file maps domain names to IP addresses locally, overriding DNS. This guide explains how to edit /etc/hosts on Linux, macOS, and Windows with examples for testing, blocking, and local development.

How to Rename Files and Directories in Linux
Rename files and directories in Linux using mv for single renames and rename for batch filename changes, including extension changes, case conversion, and safe previews.

Using the SSH Config File
Set up the SSH client config file to manage multiple remote connections with custom hostnames, users, ports, keys, and jump hosts — all without long command-line flags.

How to Mount an NFS Share in Linux
Step-by-step instructions for mounting an NFS share in Linux: install the client, mount manually, persist with /etc/fstab, and troubleshoot common errors.

chown Command in Linux: Change File Ownership
Use the chown command in Linux to change file and directory ownership, including recursive changes, symbolic links, and practical ownership examples.

How to Check Python Version
How to check the Python version installed on Linux, macOS, or Windows using the command line, and how to check the version programmatically from within a Python script.

How to Change the Swappiness Value in Linux
Check and change the swappiness value in Linux with `sysctl`, including temporary and persistent methods and recommended values for desktops, servers, and database workloads.

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.
