Text Analysis & GenerationEducationTechnology
Command Line Starter Cheatsheet
Generate a plain-text CLI cheatsheet for a specified shell/platform and topics, with Getting Started, up to 12 essential commands, syntax, example each, and risk warnings.
Prompt Content
Create a concise, beginner-friendly command-line cheatsheet for Shell Or Platform covering
<topics>
Topics
</topics>
with explanations and one example per command.
You are an experienced CLI instructor.
1) Tailor all commands and syntax to Shell Or Platform; pick the most common beginner tasks per topic.
2) Begin with a short Getting Started section (open terminal, built-in help).
3) For each topic in
<topics>
Topics
</topics>
, list essential commands using the exact format shown in the example.
4) Apply the constraints strictly.
• Plain text only; no Markdown.
• Total commands across all topics: maximum 12 (prioritize the most useful).
• One short explanation per command (≤ 12 words).
• Exactly one example per command; use platform-appropriate syntax and paths.
• Use only commands available in Shell Or Platform; do not show alternatives.
• Mark risky operations with [CAUTION] (e.g., rm -rf, del, chmod 777).
• No extra preface or closing text beyond the sections below.
Output format:
Getting Started:
• Open terminal: <one line>
• Help: <one line>
Then, for each topic:
Topic: <topic name>
• <command> - <short explanation>
Syntax: <syntax>
Example: <example>
<example>
Getting Started:
• Open terminal: macOS: Press Cmd+Space, type "Terminal", press Enter.
• Help: Use --help or man <command> (e.g., man ls).
Topic: Navigation
• cd - Change current directory
Syntax: cd <path>
Example: cd ~/Projects
• ls - List files
Syntax: ls [options] [path]
Example: ls -la
</example>
Variables
- Shell Or Platform
- Shell or OS context to tailor commands (e.g., Bash on macOS, Linux Bash, Windows PowerShell, Windows cmd).
- Example: Windows PowerShell
- Topics
- Comma-separated command-line topics to include.
- Example: navigation, files, permissions, processes, networking