HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
jlevy
the-art-of-command-line
Command Line2015–2024
jlevy / the-art-of-command-line

the-art-of-command-line

Master the command line, in one page

19Distinct people
22Mentions
0Explicit recommenders
162.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Master the command line, in one page

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year22 dated mentions

Observed mentions: 2015-06-15 17:40:37 UTC to 2024-05-06 17:28:49 UTC.

0123452015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 2 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 2 submissions, 0 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC514
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC110
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC101
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC220
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC413
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC211
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC312
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC220

What Hacker News says

22 sources
Sorted by votes: https://www.commandlinefu.com/commands/browse/sort-by-votes Filter option is nice too, here's top `awk` commands: https://www.commandlinefu.com/commands/matching/awk/YXdr/sor... (expected removing duplicates to be #1 instead of #3) There are comments too, but some are filled with spam. See also: * http://www.compciv.org/unix-tools/ * https://github.com/jlevy/the-art-of-command-line * https://github.com/learnbyexample/scripting_course#ebooks (my books on grep/sed/awk/perl/ruby/coreutils/etc - free to read online)
In Command Line One-Liners
These might help: * https://github.com/jlevy/the-art-of-command-line notes and tips on using the command-line, suitable for both beginners and experienced users * https://github.com/tldr-pages/tldr collection of community-maintained help pages for command-line tools * http://www.compciv.org/unix-tools/ examples for most common usecases * https://devmanual.gentoo.org/tools-reference/bash/index.html Bash reference cheatsheet
In Linuxgems – A succinct cheat sheet for newbie Linux coders and sysadmins
In Linux Command One-Liners
Wow, the two founders started awesome guides that I consulted in the past, from https://www.holloway.com/about?section=story: - Josh Levy: The Open Guide to Amazon Web Services (AWS) (https://github.com/open-guides/og-aws/) and The Art of the Command Line (https://github.com/jlevy/the-art-of-command-line) - Andy Sparks: Everything You Should Know About CRISPR—And Where to Learn More (https://medium.com/startup-grind/a-primer-on-crispr-and-how-...)
In Fundamentals of Product-Market Fit
I have been using the command line for all type of work for years now. The most satisfying is to realize that there is always more to learn. And once you grasped the basics, they fit together like LEGO bricks. While I think it's important to make that argument, the posted article and the one it refers to lack some guidance on how to reach "command line mastery". I recently came across this great resource here on HN: https://github.com/jlevy/the-art-of-command-line It gives great overview of the toolbox you have on the command line. Equipped with `man` you're ready to optimize your everyday work. And always remember to write everything down and ask yourself WHY something works the way it works. The interface of the standard tools is thought out very well. Getting comfortable with this mindset pays off.
In What you need may be “pipeline +Unix commands” only
* look into parameter substitution https://www.tldp.org/LDP/abs/html/parameter-substitution.htm... * use traps http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_02.htm... * read about safe ways to do things in bash https://github.com/anordal/shellharden/blob/master/how_to_do... * this is pretty helpful writeup of general CLI usage, yet not bash specific https://github.com/jlevy/the-art-of-command-line (related HN discussion https://news.ycombinator.com/item?id=9720813)
In Bash 5.0 released

Showing the 15 most recent of 22 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.