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
mv Command in Linux: Move Files and Directories
Move and rename files and directories in Linux with the mv command, including overwrite prompts, backups, the -T option, and cross-filesystem moves.

How to Save a File and Exit Vim / Vi
Save a file and quit Vim or Vi with :w, :wq, :q!, :x, ZZ, and ZQ. This guide explains the common save, exit, discard, and read-only file commands.

cd Command in Linux: Change Directories
Change directories in Linux with cd, covering absolute and relative paths, home and parent shortcuts, symbolic links, CDPATH, and common errors.

Install deb Files on Ubuntu: apt, dpkg, and gdebi
Install local .deb files on Ubuntu with apt, dpkg, or gdebi. Fix dependency errors, inspect packages, install via GUI, and remove them safely.

Linux Folder Size: How to Check File and Directory Sizes
Check folder and file sizes in Linux with du. Compare directory totals, rank subdirectories, exclude paths, and check free space with df.

Regular Expressions Explained: How Regex Patterns Work
Regular expressions explained from the ground up: how anchors, character classes, quantifiers, and groups build patterns that work in grep, sed, and awk.

zip Command in Linux: Zip Files and Directories
Create ZIP archives in Linux with the zip command. Zip directories recursively, exclude files, add a password, and split large archives.

git worktree: Work on Multiple Branches at Once
Use git worktree to check out multiple branches in separate directories, handle urgent fixes without stashing, and clean up linked worktrees safely.

git log Command: View Commit History
Browse commit history with git log: show the last commit, filter by author, date, or keyword, search by code change, track a file across renames, and read branch graphs.

whoami Command in Linux: Display the Current User Name
The whoami command shows the current effective username on Linux. This guide explains syntax, practical examples, shell script usage, and how it compares to id -un and $USER.

Series
Cheatsheets
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
mount Cheatsheet
Quick reference for the mount command: mount and unmount filesystems, mount options, UUID and label mounts, network shares, and /etc/fstab entries




