What follows is my personal reference for various commands and programs I use daily. The page is written in Pandoc's Markdown and then converted into HTML. This is split up into various scenarios rather than just a long list of commands. So far, I have small references for: git and bash.

1. Git

Tags were used to track the progress of the repo but you're not sure what the commit of the last tag is.

git describe --tags

2. Bash

You just logged in after rebooting and want to rerun a prior command.

Set the histappend shell option to improve the likelihood you can recall a command.

shopt -s histappend

Look at previous 5 commands.

history 5

Executing a previous command.

!<command number>

Search backward in history.

Ctrl-r, then start typing the command name you remember
Ctrl-s to move forward

3. Midnight Commander

You want to view only one panel at a time but bring the other back when necessary.