It would be cool if Unix had a built-in cheat sheet functionality. Like manpages, showing a refresher on common usage examples of a tool. Like

cheatsheet git

git pull # pull from tracked branch
git reset HEAD^ # undo last commit

@uliwitness Linux manpages are generally pretty poor when it comes to usage examples. It's not like that everywhere.

@leeb Would probably also work if manpages had a specially-marked section for "examples" that you could quickly get to with a flag, say

man --examples git

or the like.

@uliwitness The examples flag is a good idea. The problem is that most linux manpages in my experience don't include the 'Examples' section seen in other versions of Unix.

@leeb Well, that's a problem to solve by contributing to projects, but adding a dedicated cheatsheet command wouldn't fix that either.

@uliwitness Yes. That was my point. For some reason, linux developers seem to have an aversion to including usage examples in their manpages.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!

We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators.

Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!