← All open source projects

The Art of Command Line

jlevy/the-art-of-command-line

The Art of Command Line is a one-page guide to Bash, Unix commands, one-liners, debugging, and productive terminal work.

Forks 14,824
Author jlevy
Language Unknown
License Unknown
Synced 2026-06-07

What The Art of Command Line is

The Art of Command Line is a compact guide to shell work that aims for breadth, specificity, and brevity in one place. It is not a long Bash book; it is a dense collection of commands, habits, and one-liners for Linux, macOS, and partly Windows.

It grew from notes and answers about useful Unix commands, then became a multilingual community document on GitHub. Many contributors and translators shaped it.

What is inside

The guide is organized into Meta, Basics, Everyday use, Processing files and data, System debugging, One-liners, Obscure but useful, macOS only, Windows only, and More resources. The path goes from shell fluency to data processing and diagnostics.

Typical one-liner

This captures the project style: a small pipeline solves a practical task with standard utilities.

Language: Bash
history | awk "{print $2}" | sort | uniq -c | sort -rn | head

Why it is useful

The command line is still a daily interface for servers, local development, logs, files, and automation. The guide expands the set of practical moves without reading man pages linearly.

Limits

A one-page format compresses detail. Commands should be checked before running, especially when they modify files, permissions, or networks. Deep understanding still needs man pages, tool docs, and practice.