tldr/pages/common/tldr.md

21 lines
490 B
Markdown
Raw Normal View History

2014-01-26 12:47:19 +00:00
# tldr
2022-09-14 14:19:41 +01:00
> Display simple help pages for command-line tools from the tldr-pages project.
> More information: <https://tldr.sh>.
2014-01-26 12:47:19 +00:00
2022-09-14 14:19:41 +01:00
- Print the tldr page for a specific command (hint: this is how you got here!):
2014-01-26 12:47:19 +00:00
`tldr {{command}}`
2019-01-23 16:43:48 +00:00
2022-09-14 14:19:41 +01:00
- Print the tldr page for a specific subcommand:
2019-01-23 16:43:48 +00:00
2022-09-14 14:19:41 +01:00
`tldr {{command}}-{{subcommand}}`
2019-01-23 16:43:48 +00:00
2022-09-14 14:19:41 +01:00
- Print the tldr page for a command for a specific [p]latform:
2019-01-23 16:48:48 +00:00
2022-09-14 14:19:41 +01:00
`tldr -p {{android|linux|osx|sunos|windows}} {{command}}`
2020-09-14 15:05:12 +01:00
2022-09-14 14:19:41 +01:00
- [u]pdate the local cache of tldr pages:
2020-09-14 15:05:12 +01:00
`tldr -u`