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
SSH Tunnel: Local, Remote, and Dynamic Port Forwarding
Set up SSH tunnels with the -L, -R, and -D options for local, remote, and dynamic port forwarding, with working examples for Linux, macOS, and Windows.

How to Mount a Windows Share on Linux Using CIFS
Mount a Windows SMB share on Linux with CIFS, use a credentials file, set ownership and permissions, and create a reliable fstab entry.

How to Install PostgreSQL on Debian 13
Install PostgreSQL 17 on Debian 13, create an application role and database, and configure password authentication and remote access.

ln Command in Linux: Create Symbolic Links
The ln command creates symbolic links on Linux, giving you a stable name that points to a moving target. This guide covers creating, updating, and cleaning up symlinks, plus safe symlink updates for deployments.

bc Command in Linux: Command-Line Calculator
Use bc for arbitrary-precision math on the Linux command line, with examples covering scale, functions, base conversion, and use inside shell scripts.

type Command in Linux: Show Command Type and Location
Check how Bash resolves a name with type: alias, function, builtin, keyword, or file on disk. Covers -t, -a, -p, -P, and where Zsh and dash differ.

pushd and popd Commands in Linux: Navigate Directories with a Stack
Save directories to a stack with pushd, return with popd, and jump between them in Bash. Covers dirs, stack rotation, ~N shortcuts, quiet use in scripts, and common errors.

wall Command in Linux: Broadcast Messages to Logged-In Users
The wall command broadcasts a message to the terminals of all logged-in users in Linux. This guide covers sending messages from arguments, files, and pipes, with group targeting and banner control.

cat Command in Linux: View, Combine, and Create Files
Display, combine, and create files with the cat command in Linux, plus line numbers, hidden characters, and when to use less instead.

shutdown Command in Linux: Power Off, Reboot, and Schedule
How to use the shutdown command in Linux to power off, halt, or reboot the system immediately or at a scheduled time, with examples of all common options.

Series
Cheatsheets
tr Cheatsheet
tr command reference for translating, deleting, and squeezing characters, with character classes, escape sequences, case conversion, and pipeline recipes.
Bash Parameter Expansion Cheatsheet
Bash parameter expansion syntax for default values, substrings, prefix and suffix removal, search and replace, case conversion, and arrays.
Bash Keyboard Shortcuts Cheatsheet
Bash keyboard shortcuts for editing commands, searching history, completing words, and controlling foreground jobs.
Netcat Cheatsheet
Quick reference for using the Netcat nc command to test ports, listen for connections, transfer files, and send raw network requests




