$linuxjunkies
>

tldr(1)

Display simple, practical examples for command-line tools from the tldr community.

UbuntuDebianFedoraArch

Synopsis

tldr [OPTION]... COMMAND

Description

tldr is a simplified, crowdsourced man page system that shows practical examples for command-line tools. It fetches curated pages from the tldr-pages project, offering quick lookup without verbose documentation.

Pages are typically much shorter than traditional man pages, focusing on real-world usage patterns and common flags rather than complete technical specifications.

Common options

FlagWhat it does
-l, --listshow all available pages
-p, --platform PLATFORMselect page for specific platform (linux, osx, windows, sunos, common)
-u, --updatedownload and cache the latest tldr pages
-c, --clear-cachedelete cached tldr pages
-r, --randomshow a random page
-s, --search KEYWORDsearch for pages matching keyword
-L, --list-allshow all pages across all platforms
--cache-dir PATHset custom cache directory location

Examples

show practical examples for the ls command

tldr ls

show find command examples specific to macOS

tldr -p osx find

list all available tldr pages in your cache

tldr -l

update cached pages to the latest version

tldr -u

search for all pages containing 'network'

tldr -s network

display a random command example to learn something new

tldr -r

show common grep usage patterns with examples

tldr grep

Related commands