Skip to main content

Linux Commands

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

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 • 4 min read

whoami Command in Linux: Display the Current User Name

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

Jul 21, 2026 • 7 min read

lsusb, lspci, and lshw: List Hardware in Linux

Jul 20, 2026 • 6 min read

tail Command in Linux: Show Last Lines and Follow Logs

Jul 19, 2026 • 9 min read • series

umask Command in Linux: Set Default File Permissions

Jul 18, 2026 • 8 min read

lsof Command in Linux: Find Open Files and What Is Using a Port

Jul 16, 2026 • 8 min read

sha256sum and md5sum: Verify Checksums in Linux

Jul 16, 2026 • 4 min read

What Is stdin, stdout, and stderr in Linux

Jul 13, 2026 • 6 min read

tree Command in Linux: Display Directory Structure

Jul 12, 2026 • 11 min read

curl Command in Linux: Usage and Examples

Jul 11, 2026 • 5 min read

strace Command in Linux: Trace System Calls

Jul 10, 2026 • 7 min read

How to Manage Node.js Processes with PM2

Jul 8, 2026 • 11 min read

htop Command in Linux: How to Monitor and Manage Processes