【新手必备工具】超强命令使用帮助信息---"tldr"
16lz
2021-03-12
一 tldr介绍
使用Linux时,会忘记某些命令的用法,经常去百度搜索命令或者通过Man手册查看,但是往往man手册的说明又实在太长太多,有一些根本就不需要,所以tldr出现了,'tldr'实际表示的是:Too Long; Didn’t Read
二 tldr安装
#Ubuntu,Debian系统apt install tldr#CentOS,RHEL系统yum install epel-release #安装epel仓库源yum install tldr
三 tldr使用
- 在使用上非常简单,直接tldr跟上你需要查询的Linux命令
#查询ps命令tldr psroot@myarm:~# tldr pspsInformation about running processes. - List all running processes: ps aux - List all running processes including the full command string: ps auxww - Search for a process that matches a string: ps aux | grep {{string}} - List all processes of the current user in extra full format: ps --user $(id -u) -F - List all processes of the current user as a tree: ps --user $(id -u) f - Get the parent pid of a process: ps -o ppid= -p {{pid}} - Sort processes by memory consumption: ps --sort size
©著作权归作者所有:来自51CTO博客作者Sparts的原创作品,如需转载,请注明出处,否则将追究法律责任'tldr'简单说明该命令的用法,省去查看man手册时的冗长内容,希望能帮助到你!
欢迎关注我的微信公众号"辉哥运维之路"学习更多Linux运维技巧
更多相关文章
- Linux免交互登录远程服务器并执行命令
- git常用命令
- 30个必知的Linux命令技巧,你都掌握了吗?
- Python运维自动化开发之Fabric模块
- Linux基础-18day-Linux系统磁盘管理(du/df/mount命令)
- VScode编辑器设置中文的教程,超详细的
- Composer常用指令、安装组件、自动加载器使用方式与更新方法
- 运维少年系列 python and cisco (1)
- 运维少年系列 - ansible and cisco(1)