Skip to main content

Linux Commands

Command references for core Linux tools, syntax, examples, and practical one-liners.

Aug 20, 2026 • 13 min read

How to Use sed to Find and Replace Strings in Files

Aug 20, 2026 • 7 min read • series

How to List Groups in Linux

Aug 17, 2026 • 7 min read • series

sleep Command in Linux: Pause a Bash Script

Aug 16, 2026 • 26 min read

awk Command in Linux: Syntax, Patterns, and Examples

Aug 16, 2026 • 5 min read

Linux basename Command: Get File Name from Path in Bash

Aug 15, 2026 • 6 min read

Grep Multiple Patterns: Match Strings, Words, and Regex

Aug 13, 2026 • 13 min read • series

history Command in Linux: View and Manage Bash History

Aug 13, 2026 • 8 min read • series

lsblk Command in Linux: List Block Devices

Aug 11, 2026 • 6 min read

How to Tail and Filter Logs in Real Time on Linux

Aug 7, 2026 • 8 min read • series

Chmod Recursive: Change File Permissions Recursively in Linux

Aug 6, 2026 • 16 min read • series

chmod Command in Linux: Change File and Directory Permissions

Aug 5, 2026 • 9 min read

cd Command in Linux: Change Directories

Aug 2, 2026 • 6 min read

git worktree: Work on Multiple Branches at Once

Aug 1, 2026 • 12 min read

git log Command: View Commit History

Aug 1, 2026 • 8 min read

killall Command in Linux: Kill Processes by Name

Jul 27, 2026 • 6 min read

update-alternatives Command on Ubuntu and Debian

Jul 22, 2026 • 5 min read

Linux uname Command: Print System Information

Jul 21, 2026 • 8 min read

which Command in Linux: Find Executable Locations

Jul 21, 2026 • 6 min read

How to Set or Change the Time Zone in Linux

Jul 21, 2026 • 5 min read

head Command in Linux: Print the First N Lines of a File