All Articles
Browse all Linuxize tutorials, guides, and references.
Grep Multiple Patterns: Match Strings, Words, and Regex
Search for multiple patterns or strings at once with grep using the -e flag, fixed-string matching, alternation, and pattern files.

Block Devices, Partitions, and Filesystems in Linux Explained
Linux storage works in layers: block device, partition, filesystem, mount point. This guide explains what each layer does and which command inspects it.

Grep Exclude: Patterns, Files, and Directories
Use grep to exclude patterns, files, and directories from search results. Examples for --invert-match, --exclude, --exclude-dir, and --include.

Bash Shebang: What #!/bin/bash Means in Shell Scripts
A Bash shebang tells Linux which interpreter runs a script. See what #!/bin/bash means, how /usr/bin/env bash differs, and what happens without #!.

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.

How to Use wget in Linux with Examples
Practical wget examples for downloading files, resuming transfers, limiting bandwidth, mirroring websites, and handling authentication on Linux.

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

history Command in Linux: View and Manage Bash History
Use the history command in Linux to view, search, and clean up Bash command history. Covers expansions, HISTSIZE, HISTIGNORE, and security tips.

lsblk Command in Linux: List Block Devices
Use lsblk to list disks, partitions, filesystems, UUIDs, and mount points in Linux, then customize columns and produce JSON output for scripts.

How to Undo and Redo in Vim / Vi
Undo and redo in Vim or Vi with u, Ctrl+r, :earlier, and :later. Covers time-based undo, undo branches, and persistent undo with undofile.

How to Remove a User in Linux
Remove a user in Linux with userdel, including the home directory, active sessions, scheduled jobs, SELinux mappings, and files left behind.

How to Install Node.js and npm on Ubuntu 26.04
Install Node.js 24 LTS or the current Node.js 26 release on Ubuntu 26.04 using NodeSource, nvm, or the default Ubuntu packages.

su Command in Linux: How to Switch Users
Use the su command to switch users, open a root login shell, and run commands as another account. Includes options, sudo su, troubleshooting, and examples.

How to Install Node.js and npm on Ubuntu 24.04
Install Node.js 24 LTS and npm on Ubuntu 24.04 with apt, the NodeSource repository, or nvm, including upgrade and uninstall steps.

How to Remove or Delete a Directory in Linux
Remove a directory in Linux with rmdir for empty folders, rm -rf for non-empty ones, or find for bulk deletion. Examples and common errors.

How to Tail and Filter Logs in Real Time on Linux
Follow Linux logs in real time with tail -F, filter live output with grep, pause with less +F, and stream systemd service logs with journalctl -f.

Bash until Loop
Repeat commands until a condition becomes true with the Bash until loop. Includes syntax, practical examples, and comparisons with the while loop.

Linux File Permissions Explained
Linux file permissions control who can read, write, and execute files and directories. Learn how to inspect and change permissions with ls, stat, and chmod.

How to Show Line Numbers in Vim and Vi
Turn on line numbers in Vim or Vi for the current session, set them by default in .vimrc or init.lua, and switch between absolute, relative, and hybrid numbering.

Chmod Recursive: Change File Permissions Recursively in Linux
Use chmod -R to change permissions recursively in Linux. This guide covers numeric and symbolic modes, examples using find, common patterns, and safety tips.
