tldr

Command line users know to how read the manual: type “man” followed by the name of a command—you’ll see a detailed explanation. These manuals are useful but verbose, using hundreds of words to explain every detail of a command.

命令行用户知道如何阅读该手册:键入“ man”,后跟命令名称,您将看到详细的说明。 这些手册有用但冗长,使用数百个单词来解释命令的每个细节。

That’s fine when you want to know everything, but most of the time you’re looking for one specific usage. The project tldr crows sources concise explanations instead, and lets you look up any application by typing “tldr” followed by the command’s name. It’s perfect for when you need a quick refresher, and is supported on Linux and Mac systems.

当您想了解所有内容时很好,但是大多数时候您正在寻找一种特定的用法。 相反,项目tldr crows会提供简洁的说明,并允许您通过键入“ tldr”和命令名称来查找任何应用程序。 当您需要快速复习时,它是完美的选择,并且在Linux和Mac系统上受支持。

使用tldr快速查找命令的作用 (Using tldr To Quickly Look Up What a Command Does)

Let’s say you forgot the finer points of using cd, the command for changing folders. You could type man cd, but the results aren’t going to be straightforward.

假设您忘记了使用cd (更改文件夹的命令)的要点。 您可以输入man cd ,但是结果将不会很简单。

If you have tldr installed, type tldr cd instead. You’ll see only the most pertinent points.

如果安装了tldr,请键入tldr cd 。 您只会看到最相关的点。

It’s easy to imagine this coming in handy. Did you forget how to upgrade packages in Ubuntu? Just type tldr apt-get.

很难想象这会派上用场。 您是否忘记了如何在Ubuntu中升级软件包? 只需输入tldr apt-get

Or maybe you can’t quite remember how to unmount drives using diskutil on macOS:

或者,也许您不太记得如何在macOS上使用diskutil卸载驱动器:

You get the idea: it’s a quick way to look up what almost any command does. I coudln’t find many common commands that weren’t supported, but if you do check out the contributions page to learn how to submit your own summaries.

您有一个主意:这是查找几乎所有命令所执行操作的快速方法。 我找不到很多不受支持的常用命令,但是如果您确实查看了贡献页面,以了解如何提交自己的摘要。

在macOS和Ubuntu上安装tldr (Installing tldr on macOS and Ubuntu)

Installing tldr on macOS is easy using Homebrew, the package manager for macOS. Install Homebrew, then use the command brew install tldr and you’re done. You can start using tldr right away!

使用Homebrew(macOS的软件包管理器),可以轻松地在macOS上安装tldr。 安装Homebrew,然后使用命令brew install tldr完成。 您可以立即开始使用tldr!

I had a little bit more trouble on Ubuntu, because as of this writing, tldr isn’t offered in any repository. But it’s not hard to get this working with a little work.

我在Ubuntu上遇到了更多麻烦,因为在撰写本文时,任何存储库中都未提供tldr。 但是,不费吹灰之力就可以完成此工作。

First, install NodeJS and the Node Package Manager (nps):

首先,安装NodeJS和Node Package Manager(nps):

sudo apt install nodejs npm

Next use npm to install tldr:

接下来使用npm安装tldr:

sudo npm install -g tldr

You should now be able to use tldr, but I had trouble on Ubuntu 16.04: I saw an error about there being “no such file or directory” as node. The solution was to create a symlink:

现在您应该可以使用tldr了,但是我在Ubuntu 16.04上遇到了麻烦:我看到关于“没有这样的文件或目录”作为节点的错误。 解决方案是创建一个符号链接:

sudo ln -s /usr/bin/nodejs /usr/bin/node

Do that and tldr should be up and running in Ubuntu. As always, these steps may vary depending on which Linux distribution you’re using.

这样做,tldr应该在Ubuntu中启动并运行。 与往常一样,这些步骤可能会因您所使用的Linux发行版而异。

…或仅使用网络版本 (…or Just Use The Web Version)

Using tldr from the command prompt makes sense, because that’s the place where you type your commands. But it’s not necessary: there’s a great web version at tldr.ostera.io, and it’s worth bookmarking if you can’t manage to install the above versions.

在命令提示符下使用tldr很有意义,因为这是您键入命令的地方。 但这不是必需的: tldr.ostera.io有一个很棒的Web版本,如果您无法安装上述版本,则值得添加书签。

There’s even an edit link, just in case you see a mistake. Enjoy!

甚至还有一个编辑链接,以防万一您看到一个错误。 请享用!

翻译自: https://www.howtogeek.com/323020/tldr-converts-man-pages-into-concise-plain-english-explanations/

tldr

tldr_tldr将手册页转换为简明英语解释相关推荐

  1. cgroups(7)— Linux中文手册页

    CGROUPS(7)Linux程序员手册CGROUPS(7) NAME         顶部 cgroups-Linux控制组 说明         顶部 控制组(通常称为cgroup)是Linux内 ...

  2. 如何在Linux上创建手册页

    Fatmawati Achmad Zaenuri/Shutterstock Fatmawati Achmad Zaenuri / Shutterstock Want your new Linux pr ...

  3. 谷歌地球使用手册_如何使用手册页:比Google搜索更快

    谷歌地球使用手册 养成使用谷歌搜索您想了解的关于Linux中的命令或操作的习惯是很容易的,但是我认为还有更好的东西:生动活泼,完整的参考资料, 手册页 ,这是手册页的缩写. 手册页的历史可以追溯到Li ...

  4. Linux下dislocate命令用法,在 Linux 中遨游手册页的海洋 | Linux 中国

    原标题:在 Linux 中遨游手册页的海洋 | Linux 中国 Linux 系统上的手册页可以做的不仅仅是提供特定命令的信息.它们可以帮助你发现你没有意识到的命令. https://linux.cn ...

  5. Linux/Unix 如何查看 man 搜索到的手册页(manual page)的位置及复制手册页的内容

    文章目录 命令 man 是如何搜索手册页的? 如何查看手册页所在的路径 通过管道输出给 vim 命令 man 是如何搜索手册页的? man uses a sophisticated method of ...

  6. 没有 XXX 的手册页条目

    没有 XXX 的手册页条目 最近在使用Linux中的vim编辑器进行多线程程序的实现,在使用man命令进行函数定义的查看.提示 没有 XXX 的手册页条目? 1.需要执行以下命令: sudo apt- ...

  7. 没有 XXX 的手册页条目问题解决

    没有 XXX 的手册页条目 最近在使用Linux中的vim编辑器进行多线程程序的实现,在使用man命令进行函数定义的查看.提示 没有 XXX 的手册页条目? 1.需要执行以下命令: sudo apt- ...

  8. 什么是计算机用英语解释,计算机词汇英语解释

    小编为大家整理了计算机词汇英语解释,希望对你有帮助哦! 计算机词汇英语解释: Anti-virus software - A program that finds and removes viruse ...

  9. 英语语言学u c,06422英语语言学 — 新编简明英语语言学教程, 戴炜栋

    06422英语语言学-新编简明英语语言学教程, 戴炜栋 Contents Chapter 1 Introduction (1) Chapter 2 Phonology (5) Chapter 3 Mo ...

最新文章

  1. 实战清除电脑上恶意弹出广告窗口
  2. NSJSONSerliazition文档翻译和使用
  3. php 实现查询百度排名,PHP实现获取百度top50的搜索排行关键字
  4. 【Android Gradle 插件】ProductFlavor 配置 ( applicationId 配置 | SdkVersion 相关配置 | version 应用版本配置 )
  5. VC C/C++ 4种方法获取文件大小 Windows API
  6. 文件操作模式扩展、游标操作
  7. 13.10 Scala中使用JSON.toJSONString报错:ambiguous reference to overloaded definition
  8. 印度光伏巨头Adani与华为签署500MW采购合同
  9. EXT2/EXT3/EXT4文件系统数据恢复工具开发计划
  10. python json是什么_python json详解
  11. 猎豹浏览器怎么查看历史记录 猎豹浏览器历史记录查看教程
  12. py2exe打包pyqt程序
  13. PHP获得真实客户端的真实IP REMOTE_ADDR,HTTP_CLIENT_IP,HTTP_X_FORWARDED_FOR
  14. Spring boot - 整合MyBatis
  15. flask高级编程-循环引用
  16. 再学 GDI+[20]: TGPTextureBrush 与 TWrapMode
  17. pandas.iloc, pandas.loc用法
  18. Kubernetes 小白学习笔记(12)--搭建一个kubernetes集群-安装dashboard和heapster并验证集群安装结果
  19. 计算理论重点——Theory of Computation
  20. 【软件下载】Excel下载 word下载 官方 官网下载 原始镜像 开发工具 开发软件下载

热门文章

  1. 解决域名被劫持的方案?
  2. Java面试知识点(全)- Java面试基础部分一
  3. Uniswap V2-periphery 智能合约代码“行级”解析
  4. Java之——java.lang.NoSuchMethodException: [org.springframework.web.multipart.MultipartFile;.init()
  5. stata统计分析及行业应用案例分析_数据分析之路——描述性统计分析和应用案例...
  6. 数云原力大会汪广盛:2023数据管理的十大新趋势
  7. 使用Mathematica绘制蝴蝶线(Butterfly Curve)
  8. AR 互动展厅 | ALVA Systems 中关村展厅欢迎您来!
  9. javascript罗马数字转换
  10. 你负责看比赛,其他的放着我来 | 苏宁体育赛事直播频道化运营关键技术