tldr一个精简的man手册替代品
文章目录
- 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手册替代品相关推荐
- 一个精简的开源点云库
Cilantro是一个精简高效的点云数据处理库,编程是C++,依赖项较少,但是相比较于PCL来说,代码更有可读性,PCL中大量的使用C++高级特性,阅读起来比较难并且不易重构拆解代码,而cilantr ...
- 如何实现一个精简版的redux-saga
实现一个精简的redux-saga主要包括三个部分,首先是通过createSagaMiddelware创建saga中间件sagaMiddelware,第二是sagaMiddelware中实现一个run ...
- 安卓小白如何制作一个精简ROOT的卡刷ROM?小白制作ROM包详细图文教程
安卓小白如何使用最短的时间制作一个精简ROOT的卡刷ROM? 小白用户如何便捷的制作一款属于自己的刷机包? 小白制作刷机包时具体需要什么样的操作步骤? 接下来和大家分享一下小白制作ROM包详细图文教程 ...
- CX3 调试学习_持续更新(此文大部分对于初步使用没啥用,回头去公众号整理一个精简版配置应用教程)
1.FX3 FX3是cypress公司(已被英飞凌收购)的一款USB产品,用于其他类型数据转到USB的桥接,数据接口类型可以通过配置进行修改 2.CX3 CX3是FX3的一个特例,专用于mipi CS ...
- exa:一个 ls 命令的现代替代品
这个简单的 ls 命令列出目录的内容十分方便,但是直到我发现 exa 之前从来没想过会有命令能替代它.我敢打赌你使用过 Linux 上的 ls 命令,它是你 学习 Linux 时首次接触到的命令之一. ...
- 怎么在线制作一个好的产品手册?
随着线上推广的兴起,传统地发放企业产品手册的形式,不被大多数人所待见,所以在线产品手册成为各大公司的"新宠".在线产品手册没有地域性.空间限制,随时随地都可以直接将产品详情通过网络 ...
- groovy grails_在Grails战争中添加一个“精简”的Groovy Web控制台
groovy grails 假设您已将Grails应用程序部署到服务器上–如何查找应用程序的配置方式? 如果您有来源,则可以查看Config.groovy , BuildConfig.groovy等( ...
- 一个精简内核配置的方法 (感谢 flw2 兄分享)
如果经常编译新内核(不管是什么目的), 或者需要修改内核的某些代码做测试,虽然make会选择的编译有必要重新编译的部分,但是如果修改了某个核心的头文件 可能需要重新编译很多内容 所以把不需要使用的模块 ...
- PicCompress一个精简的图片压缩工具
PicCompress 说明 之前上传博客图片过大不方便加载,还有一些微信平台的图片无法上传有大小限制,于是就打算开发个压缩图片的工具 支持图片格式 PNG(.png) JPEG(.jpg, .jpe ...
最新文章
- java非递归遍历file树_Java语言实现非递归实现树的前中后序遍历总结
- 不讲武德,拿到户口后立马辞职...
- 【DFS】 HDU 3298 Contestants
- Nacos源码NacosNamingService
- 第三次学JAVA再学不好就吃翔(part9)--基础语法之键盘录入
- 【转】你不能访问此共享文件夹,因为你组织的安全策略阻止未经身份验证的来宾访问
- ArcGIS利用数据驱动工具条批量出图(python代码)
- 获得显示器设置的分辨率
- 蓝桥杯 基础练习 数列特征
- 51nod 1005 1027 1029 高精度
- nginx config的多个config配置
- 线程、同步异步、队列
- 能查阅国外文献的8个论文网站(最新整理)
- HTMLpre代码美化
- 2021年机器学习及R应用 陈强老师 应用于领域 经济管理 人文社科 医学卫生领域等
- 谷歌账号--手机号无法验证
- 利用python做一个游戏主播_Python爬取2000万直播数据——看20万游戏主播能否月入100万...
- Android androidx.startup:startup-runtime的minCompileSdk问题
- ppt如何替换其他mo ban_这4个配图反例,拉低了你的PPT档次!
- Susy 2 教程 — 实战篇