All Articles
Browse all Linuxize tutorials, guides, and references.
How to Diagnose OOM Killer Events in Linux
Diagnose Linux OOM kills with dmesg and journalctl, identify affected processes, check service memory limits, and investigate systemd-oomd events.

What Is /dev/null in Linux
The Linux /dev/null device discards anything written to it and returns EOF when read. This guide shows how to silence stdout, stderr, cron output, and empty files.

.gitignore: Ignore Files and Folders in Git
Use .gitignore to ignore folders, files, logs, and build output in Git. Covers the pattern syntax, global rules, tracked-file cleanup, and debugging commands.

How to Change MySQL User Password
Change a MySQL or MariaDB user password from the mysql shell using ALTER USER. Covers MySQL 8.0 and 8.4, the root account on Ubuntu, FLUSH PRIVILEGES, and common errors.

Using curl to Make REST API Requests
Send GET, POST, PUT, PATCH, and DELETE requests to a REST API with curl, pass tokens and API keys, and check status codes and JSON responses from the terminal.

How to Use the Linux ftp Command to Transfer Files
Transfer files to and from a remote server using the Linux ftp command. Covers connections, downloads, uploads, passive mode, and scripted transfers.

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.

dd Command in Linux: Copy Disks, Partitions, and Files
This guide explains how to use the dd command in Linux to write ISO images, clone disks, back up partitions, wipe drives, and test disk speed.

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.

How to Check Python Version
Check the Python version on Linux, macOS, or Windows, locate the active interpreter, and read version information from inside a script.

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.
