← 返回命令列表

Linux command

cheat 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

View

cheat [tar]

List

cheat -l

Search

cheat -s [keyword]

Edit

cheat -e [command]

Create

cheat -e [newcommand]

说明

cheat allows you to create and view interactive cheatsheets on the command line. It provides quick access to common command examples and usage patterns, making it easier to remember complex command syntax. The tool is designed to be a more practical alternative to man pages for everyday use.

参数

-l, --list
List available cheatsheets
-s, --search _keyword_
Search cheatsheets
-e, --edit _sheet_
Edit cheatsheet
-p, --path
Show cheatsheet path
-d, --directories
List cheatsheet directories
-v, --version
Show version

FAQ

What is the cheat command used for?

cheat allows you to create and view interactive cheatsheets on the command line. It provides quick access to common command examples and usage patterns, making it easier to remember complex command syntax. The tool is designed to be a more practical alternative to man pages for everyday use.

How do I run a basic cheat example?

Run `cheat [tar]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l, --list do in cheat?

List available cheatsheets