Skip to content

Trims down the tldr existing repo to just include english stuff and the commands for linux, windows, common, cisco and android

Notifications You must be signed in to change notification settings

DebateSystemImpact/command-notes

Repository files navigation

Command Notes

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.


📂 Structure

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`

📝 Formatting rules

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).


🔍 How to use this repo

  • Search in VS CodeCtrl+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

🖊️ Git workflow reminders

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 reminders

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.


🚀 Why GitHub instead of Notion?

  • 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.

📖 Credits

Original structure adapted from the tldr-pages project.
All additions and curation beyond that are my own.

About

Trims down the tldr existing repo to just include english stuff and the commands for linux, windows, common, cisco and android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2,729