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

chmod 777: What It Means and Why You Should Never Use It
chmod 777 grants every user full control of a file or directory. See why it is risky and when to use safer 755 or 644 permissions instead.

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



