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
fdisk Command in Linux: Create Disk Partitions
Use the fdisk command in Linux to list disks, create GPT or MBR partitions, change partition types, format new partitions, and mount them safely.

timedatectl Command in Linux: Manage Time, Date, and Time Zone
Check and change the system time, time zone, and NTP sync with timedatectl, plus how to see and set NTP servers with chrony or systemd-timesyncd.

How to Edit Your Hosts File on Linux, Windows, and macOS
Edit the hosts file on Linux, Windows, and macOS to override DNS locally. Includes file paths, entry examples, saving steps, and verification commands.

How to Check Listening Ports in Linux: ss, netstat, lsof
Use ss, netstat, or lsof to list all listening ports in Linux, identify which process is using a specific port, and filter results by protocol or port number.

How to Unzip Files in Linux
Extract ZIP archives in Linux with the unzip command: unzip to a folder, handle password-protected and multiple archives, list or test contents, and exclude files.

How to Check Linux Version: Distro and Kernel Commands
Terminal commands that show your Linux distribution, release number, and kernel version, including the exact point release on Debian and RHEL systems.

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.

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.

Ubuntu Desktop vs Ubuntu Server: Which One Should You Use?
Ubuntu Desktop and Ubuntu Server share the same base but differ in installers, software, resource needs, and workloads. See which edition fits your system.

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

Series
Cheatsheets
timedatectl Cheatsheet
Quick reference for checking time status, changing time zones, controlling NTP sync, and setting the system clock with timedatectl
GitHub CLI Cheatsheet
gh at a glance: authentication, repositories, pull requests, issues, GitHub Actions runs and secrets, releases, search, extensions, and the API.
sudo Cheatsheet
sudo at a glance: running commands as root, credential caching, environment handling, sudoers rule syntax, aliases, Defaults, and logging.
Nginx Cheatsheet
Nginx directives at a glance: server blocks, location matching, reverse proxy headers, TLS, redirects, rate limits, caching, and log formats.




