Sorts everything beneath the working directory by real disk usage and shows the twenty worst offenders.
Category
Snippets in Shell
Prunes an archive directory without touching anything recent. Run it with -print first to see what would go.
Retries every two seconds and stops the moment the command exits zero. Useful while waiting for a service to come up.
Answers 'address already in use' without guessing.
Strips a prefix from every file in a directory using shell parameter expansion, no rename utility required.
Follows a growing file and highlights errors and warnings, leaving the rest readable but quiet.
The four lines that turn a script from 'carries on after an error' into 'stops at the first problem'.
A quick census of a repository without installing a tool for it.
Lints only what a commit touched, which is usually all you need in a pre-commit hook.
Three ways to put a folder on localhost when you need to test something quickly.
The Windows counterpart to du | sort | head.