文章目录

  • tldr
    • 安装
    • 常用参数
    • 使用示例

tldr

假如你是一个对man手册那又臭又长的命令感觉到厌倦的人,你可以去了解一下tldr命令

安装

确保你的系统已经安装了npm

使用一下命令对tldr进行安装

 tldr  -  Too Long; Didn't Read

github地址

常用参数

  -V, --version            查看版本-l, --list               从缓存中列出平台支持的所有命令-a, --list-all           从缓存中列出所有命令-1, --single-column      单列列出所有支持的命令和 -l 和 -a一起使用-r, --random             随机显示支持的命令-e, --random-example     随机显示一个使用示例-f, --render [file]      显示 markdown [file] 中的特定字符行-m, --markdown           按照markdown格式进行输出# 这几个设置了没有用的命令-o, --os [type]          Override the operating system [linux, osx, sunos]--linux                  Override the operating system with Linux--osx                    Override the operating system with OSX--sunos                  Override the operating system with SunOS# -t, --theme [theme]     颜色主题 (simple, base16, ocean)-s, --search [keywords]  使用关键字搜索页-u, --update             更新本地缓存-c, --clear-cache        清理本地缓存-h, --help               输出帮助信息

使用示例

andrew@andrew-Thurley:~$ tldr tartarArchiving utility.Often combined with a compression method, such as gzip or bzip.More information: https://www.gnu.org/software/tar.- Create an archive from files:tar cf target.tar file1 file2 file3- Create a gzipped archive:tar czf target.tar.gz file1 file2 file3- Extract a (compressed) archive into the current directory:tar xf source.tar[.gz|.bz2|.xz]- Extract an archive into a target directory:tar xf source.tar -C directory- Create a compressed archive, using archive suffix to determine the compression program:tar caf target.tar.xz file1 file2 file3- List the contents of a tar file:tar tvf source.tar- Extract files matching a pattern:tar xf source.tar --wildcards "*.html"
andrew@andrew-Thurley:~$ tldr -r
PAGE git-checkoutgit checkoutCheckout a branch or paths to the working tree.More information: https://git-scm.com/docs/git-checkout.- Create and switch to a new branch:git checkout -b branch_name- Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):git checkout -b branch_name reference- Switch to an existing local branch:git checkout branch_name- Switch to the previously checked out branch:git checkout -- Switch to an existing remote branch:git checkout --track remote_name/branch_name- Discard all unstaged changes in the current directory (see git reset for more undo-like commands):git checkout .- Discard unstaged changes to a given file:git checkout file_name- Replace a file in the current directory with the version of it committed in a given branch:git checkout branch_name -- file_name
andrew@andrew-Thurley:~$ tldr -r
PAGE muttmuttCommand-line email client.More information: http://mutt.org.- Open the specified mailbox:mutt -f mailbox- Send an email and specify a subject and a cc recipient:mutt -s subject -c cc@example.com recipient@example.com- Send an email with files attached:mutt -a file1 file2 -- recipient@example.com- Specify a file to include as the message body:mutt -i file recipient@example.com- Specify a draft file containing the header and the body of the message, in RFC 5322 format:mutt -H file recipient@example.com

关注公众号,免费送资料

tldr一个精简的man手册替代品相关推荐

  1. 一个精简的开源点云库

    Cilantro是一个精简高效的点云数据处理库,编程是C++,依赖项较少,但是相比较于PCL来说,代码更有可读性,PCL中大量的使用C++高级特性,阅读起来比较难并且不易重构拆解代码,而cilantr ...

  2. 如何实现一个精简版的redux-saga

    实现一个精简的redux-saga主要包括三个部分,首先是通过createSagaMiddelware创建saga中间件sagaMiddelware,第二是sagaMiddelware中实现一个run ...

  3. 安卓小白如何制作一个精简ROOT的卡刷ROM?小白制作ROM包详细图文教程

    安卓小白如何使用最短的时间制作一个精简ROOT的卡刷ROM? 小白用户如何便捷的制作一款属于自己的刷机包? 小白制作刷机包时具体需要什么样的操作步骤? 接下来和大家分享一下小白制作ROM包详细图文教程 ...

  4. CX3 调试学习_持续更新(此文大部分对于初步使用没啥用,回头去公众号整理一个精简版配置应用教程)

    1.FX3 FX3是cypress公司(已被英飞凌收购)的一款USB产品,用于其他类型数据转到USB的桥接,数据接口类型可以通过配置进行修改 2.CX3 CX3是FX3的一个特例,专用于mipi CS ...

  5. exa:一个 ls 命令的现代替代品

    这个简单的 ls 命令列出目录的内容十分方便,但是直到我发现 exa 之前从来没想过会有命令能替代它.我敢打赌你使用过 Linux 上的 ls 命令,它是你 学习 Linux 时首次接触到的命令之一. ...

  6. 怎么在线制作一个好的产品手册?

    随着线上推广的兴起,传统地发放企业产品手册的形式,不被大多数人所待见,所以在线产品手册成为各大公司的"新宠".在线产品手册没有地域性.空间限制,随时随地都可以直接将产品详情通过网络 ...

  7. groovy grails_在Grails战争中添加一个“精简”的Groovy Web控制台

    groovy grails 假设您已将Grails应用程序部署到服务器上–如何查找应用程序的配置方式? 如果您有来源,则可以查看Config.groovy , BuildConfig.groovy等( ...

  8. 一个精简内核配置的方法 (感谢 flw2 兄分享)

    如果经常编译新内核(不管是什么目的), 或者需要修改内核的某些代码做测试,虽然make会选择的编译有必要重新编译的部分,但是如果修改了某个核心的头文件 可能需要重新编译很多内容 所以把不需要使用的模块 ...

  9. PicCompress一个精简的图片压缩工具

    PicCompress 说明 之前上传博客图片过大不方便加载,还有一些微信平台的图片无法上传有大小限制,于是就打算开发个压缩图片的工具 支持图片格式 PNG(.png) JPEG(.jpg, .jpe ...

最新文章

  1. java非递归遍历file树_Java语言实现非递归实现树的前中后序遍历总结
  2. 不讲武德,拿到户口后立马辞职...
  3. 【DFS】 HDU 3298 Contestants
  4. Nacos源码NacosNamingService
  5. 第三次学JAVA再学不好就吃翔(part9)--基础语法之键盘录入
  6. 【转】你不能访问此共享文件夹,因为你组织的安全策略阻止未经身份验证的来宾访问
  7. ArcGIS利用数据驱动工具条批量出图(python代码)
  8. 获得显示器设置的分辨率
  9. 蓝桥杯 基础练习 数列特征
  10. 51nod 1005 1027 1029 高精度
  11. nginx config的多个config配置
  12. 线程、同步异步、队列
  13. 能查阅国外文献的8个论文网站(最新整理)
  14. HTMLpre代码美化
  15. 2021年机器学习及R应用 陈强老师 应用于领域 经济管理 人文社科 医学卫生领域等
  16. 谷歌账号--手机号无法验证
  17. 利用python做一个游戏主播_Python爬取2000万直播数据——看20万游戏主播能否月入100万...
  18. Android androidx.startup:startup-runtime的minCompileSdk问题
  19. ppt如何替换其他mo ban_这4个配图反例,拉低了你的PPT档次!
  20. Susy 2 教程 — 实战篇

热门文章

  1. hdu 4983(欧拉函数)
  2. hdu-1074 Doing Homework
  3. 贪心算法之——喷水装置一(nyoj6)
  4. 2014广州赛区比赛总结
  5. One-shot Learning with Memory-Augmented Neural Networks
  6. MongoDB学习笔记(2)
  7. 深入理解C指针之三:指针和函数
  8. sql语句添加删除外键
  9. 开源客户关系管理系统vTigerCRM 5.2正式版发布
  10. windows2012自动锁定计算机,如何在Windows中启用或禁用自动锁定