← 返回命令列表

Linux command

tldr 命令

文本

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

常用示例

Show tldr page for a command

tldr [command]

Update the local cache

tldr --update

List all available pages

tldr --list

Show page for specific platform

tldr -p [linux] [command]

Search for pages matching

tldr --search [keyword]

说明

tldr provides simplified, community-maintained man pages focused on practical examples. Instead of comprehensive documentation, tldr pages show common use cases with copy-paste ready commands. The name stands for "Too Long; Didn't Read," reflecting its philosophy of brevity over completeness. Each page contains a brief description followed by example commands with explanations. Pages are maintained by an open-source community and cover thousands of commands across multiple platforms. The cache is stored locally and can be updated with --update. Multiple client implementations exist (Node.js, Python, Rust, Go, etc.) all using the same page repository. Install whichever client suits your environment.

参数

-u, --update
Update the local page cache
-l, --list
List all available commands
-p, --platform _platform_
Show page for specific platform (linux, osx, windows, sunos, android)
-L, --language _lang_
Show page in specified language
-v, --version
Display version
-h, --help
Display help

FAQ

What is the tldr command used for?

tldr provides simplified, community-maintained man pages focused on practical examples. Instead of comprehensive documentation, tldr pages show common use cases with copy-paste ready commands. The name stands for "Too Long; Didn't Read," reflecting its philosophy of brevity over completeness. Each page contains a brief description followed by example commands with explanations. Pages are maintained by an open-source community and cover thousands of commands across multiple platforms. The cache is stored locally and can be updated with --update. Multiple client implementations exist (Node.js, Python, Rust, Go, etc.) all using the same page repository. Install whichever client suits your environment.

How do I run a basic tldr example?

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

What does -u, --update do in tldr?

Update the local page cache