Practical Linux Tutorials and Command-Line Guides
Search hundreds of step-by-step tutorials for Bash, Ubuntu, networking, security, and more.
Featured Articles
Linuxize Weekly Newsletter
A quick weekly roundup of new tutorials, news, and tips.
Latest Articles
How to Mount and Unmount File Systems in Linux
Mount and unmount file systems in Linux with the mount and umount commands. Examples cover USB drives, ISO files, NFS shares, bind mounts, and persistent /etc/fstab entries.

Check Linux Version: Find Your Distribution and Kernel Release
Check your Linux version from the terminal with /etc/os-release, hostnamectl, lsb_release, and uname. See when each command is useful.

How to Mount an exFAT Drive on Ubuntu
Modern Ubuntu releases read and write exFAT drives out of the box. This guide shows how to mount exFAT USB drives and SD cards automatically or manually, install exfatprogs, set up an fstab entry, and fix common mount errors.

How to Install NVIDIA CUDA Toolkit on Ubuntu 26.04
Install the NVIDIA CUDA Toolkit on Ubuntu 26.04 from the Ubuntu archive or NVIDIA repository, then verify the driver, nvcc compiler, and CUDA sample output.

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.

shutdown Command in Linux: Power Off, Reboot, and Schedule
How to use the shutdown command in Linux to power off, halt, or reboot the system immediately or at a scheduled time, with examples of all common options.

How to Check if a Command Exists in Bash
Check whether a command exists in Bash with command -v, capture its path, validate several dependencies, and compare type, hash, and which.

setuid, setgid, and the Sticky Bit Explained
Understand the setuid, setgid, and sticky bit special permissions in Linux: what each one does on files and directories, how to set them, and the security risks.

Delete Files and Directories in Python: os, pathlib, and shutil
How to delete single files, match and remove files by pattern, and remove directories in Python using the os, pathlib, and shutil modules.

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.

Series
Cheatsheets
date Cheatsheet
Quick reference for the Linux date command covering display formats, format specifiers, relative dates, timezones, Unix timestamps, and setting the system clock.
PostgreSQL Cheatsheet
Quick reference for connecting to PostgreSQL, managing databases and roles, granting privileges, and running backup commands.
pip Cheatsheet
Quick reference for pip commands covering package installation, version constraints, requirements files, upgrades, virtual environments, and configuration.
cut Cheatsheet
Quick reference for extracting fields, bytes, and characters with cut in Linux




