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
Timeout Command in Linux
Use the Linux timeout command to stop a command after a time limit. Examples cover signals, -k, exit codes 124 and 137, sudo, scripts, and pipelines.

last Command in Linux: Check Login History
Use the last command in Linux to check login history, filter sessions by user or date, and audit access. Covers lastb, lastlog, and the wtmpdb replacement.

What Is a Zombie Process and How to Kill It in Linux
Find zombie processes in Linux with ps, identify the parent that has not reaped them, and decide when the parent process needs a restart.

How to List Users in Linux
List Linux users with getent passwd, lslogins, or /etc/passwd. Filter accounts by UID, check group membership, and see who is logged in.

date Command in Linux: Format, Timezone, and Epoch
Format dates, convert timezones, and work with Unix timestamps using the Linux date command, with copy-paste examples for the terminal and shell scripts.

How to Install PHP on Ubuntu 24.04
Ubuntu 24.04 ships PHP 8.3. Install it with Apache or Nginx, add common extensions, and get PHP 8.4 or 8.5 from the Sury repository.

How to Check the PHP Version
Use php -v to check your PHP version on Linux, list registered PHP CLI versions on Ubuntu and Debian, and find out which version your website runs.

How to Install MySQL on Debian 13
Install MySQL 8.4 LTS on Debian 13 Trixie from Oracle's APT repository, restrict it to local connections, and create a database and user for your application.

How to Install Python on Ubuntu 26.04
Install Python on Ubuntu 26.04: set up pip and venv for the default Python 3.14, add 3.12, 3.13, or 3.15 from the deadsnakes PPA, or build from source.

How to Create a Bootable Debian USB Stick on Linux
Verify the Debian 13 netinst ISO with SHA256SUMS, write it to a USB stick from the Linux terminal with dd, and boot the Debian installer.

Series
Cheatsheets
Linux System Information Cheatsheet
Commands that show Linux system information: distro and kernel version, CPU, memory, disks, hardware, firmware, uptime, and boot history.
printf Cheatsheet
printf reference for Bash: format specifiers, flags, width and precision, escape sequences, %(fmt)T dates, padded columns, and common errors.
su Cheatsheet
Quick reference for switching users and running commands with su in Linux
traceroute and mtr Cheatsheet
Quick reference for traceroute, tracepath, and mtr: UDP, ICMP, and TCP probes, hop limits, output codes, mtr reports, and Windows tracert equivalents




