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
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.

Series
Cheatsheets
SFTP Cheatsheet
Quick reference for the Linux sftp client, covering login, navigation, transfers, and remote file management over SSH
cd Cheatsheet
Quick reference for changing directories with cd in Linux
Git Cheatsheet
Quick reference for common Git commands and workflows
AWS CLI Cheatsheet
Quick reference for AWS CLI commands, profiles, and output filtering




