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
Bash Pattern Matching: =~ Operator and Regular Expressions
Match strings in Bash with globs, extglob, and the =~ regex operator. Use anchors, quoting, and BASH_REMATCH to test input and capture groups.

unlink Command in Linux: Remove a Single File
Remove one file or symlink with unlink. See how it differs from rm, how hard links affect deletion, and how to fix common errors.

How to Extract (Unzip) tar.gz Files in Linux
Extract (untar) tar.gz and tgz archives with the tar command. Covers extracting to a directory, pulling specific files, wildcards, stdin piping, and listing archive contents.

How to Convert Integer into String in Python
Convert an int to a str in Python with str(), f-strings, and format(), add leading zeros, build binary or hex strings, and join a list of numbers.

How to Convert Strings to Integers in Python
Convert strings to integers in Python with int(), handle invalid input, remove separators, and parse binary, octal, and hexadecimal values.

How to Resize and Extend a Linux Partition and Filesystem
Extend a Linux partition and grow ext4, XFS, Btrfs, or LVM storage after a disk resize, with layout checks, safe ext4 shrink steps, and troubleshooting.

Linux ip Command with Examples
How to use the Linux ip command to show and assign IP addresses, bring interfaces up or down, and manage routes, with ip a and ip -br output explained.

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 Create a Directory in Linux: mkdir Command Examples
Create single, multiple, and nested directories in Linux with mkdir, set permissions with -m, and fix 'Permission denied' and 'No such file or directory' errors.

sqlite3 Command Line: Create and Query SQLite Databases
Create and query SQLite databases with sqlite3 on Linux. Import CSV files, format query results, and back up or restore your data.

Series
Cheatsheets
SSH Config Cheatsheet
SSH client config directives at a glance: Host and Match patterns, keys, jump hosts, keepalives, multiplexing, port forwarding, host key checking, and tokens for ~/.ssh/config.
SQLite Cheatsheet
SQLite command-line reference for opening databases, running SQL, formatting results, importing CSV files, and making backups.
systemd Unit File Cheatsheet
systemd unit file directives at a glance: [Unit] dependencies, service types, Exec commands, restart policy, users and environment, resource limits, hardening, timers, and drop-in overrides.
timedatectl Cheatsheet
Quick reference for checking time status, changing time zones, controlling NTP sync, and setting the system clock with timedatectl




