A personal, curated collection of command-line reference pages.
Adapted from the original tldr-pages project, but trimmed down to the platforms I care about most.
This repo contains 5 folders of command reference pages:
android/
→ Commands for Android debugging and tools.cisco-ios/
→ Cisco IOS networking commands.common/
→ Cross-platform commands used on most systems (e.g.ls
,tar
).linux/
→ Linux-specific commands.windows/
→ Windows/PowerShell commands.
Each file is a short Markdown (.md
) cheatsheet for one command.
Example page structure:
# command
> One-line description.
> More info: <https://example.com>
- Example description:
`command --option value`
This repo enforces a simple Markdown style:
- Headings must use
#
(ATX style). - Lists indent with 4 spaces.
- Lines can be long (up to 250 chars).
- Placeholders are written like
{{this}}
. - No italics/bold styling — keep it clean.
These rules are enforced automatically by markdownlint (see .markdownlint.json
).
- Search in VS Code →
Ctrl+Shift+F
, type the command (e.g.scp
). - Browse by folder → open
common/
,linux/
, etc. - Preview Markdown → in VS Code, right-click a file → “Open Preview” (or
Ctrl+Shift+V
).
Optional: lint pages locally with tldr-lint:
npm install -g tldr-lint
tldr-lint pages/common/ls.md
Basic workflow for making changes:
# Stage all changes
git add -A
# Commit with a message
git commit -m "update notes"
# Push to GitHub
git push
Check status:
git status
View history (compact form):
git log --oneline --decorate --graph --all
Markdown = plain text + light formatting.
Quick syntax guide:
- Heading:
# H1
,## H2
, etc. - List:
- Item 1 - Nested item
- Code block: triple backticks
```bash
ls -la
``` - Inline code:
`ls`
- Link:
<https://example.com>
- Placeholder values:
{{path/to/file}}
Use Preview in VS Code (Ctrl+Shift+V
) to see formatted output.
- Version control → every change is tracked.
- Portability → clone anywhere, no vendor lock-in.
- Markdown → simple, universally supported.
- Extensible → later you can add scripts to search, generate PDFs, or build a static site.
Original structure adapted from the tldr-pages project.
All additions and curation beyond that are my own.