当前位置: 首页 > news >正文

linux命令中文帮助手册

https://tldr.inbrowser.app/
tldr命令介绍
相关网址
tldr安装
tldr使用示例
参考资料
6%
Linux tldr命令
发表于 2021-05-08
更新于 2022-04-04
分类于 Linux , 通用 , 帮助文档
Waline: 0
本文字数: 2.7k
阅读时长 ≈ 2 分钟
tldr命令介绍
该命令可以显示一些命令的常见用法
tldr全称Too long, Don’t read,翻译成中文就是[太长不读]。tldr根据二八原则将命令的常用场景给出示例,让人一看就懂。
tldr是简化版的使用手册,并不会像man一样把所有的使用参数和说明都列出来,而是只显示常用的几个使用Sample和说明。

相关网址
官网:https://tldr.sh/
在线查询网站:https://tldr.ostera.io/
在线查询网站源码:https://github.com/ostera/tldr.jsx
github:https://github.com/tldr-pages/tldr
安卓客户端:
https://play.google.com/store/apps/details?id=io.github.hidroh.tldroid
https://play.google.com/store/apps/details?id=wtf.technodisaster.tldr
电脑客户端:https://github.com/terenceng2010/tldr-electron

tldr安装
npm install -g tldr
tldr使用示例
tldr man
[root@localhost sed]# tldr man

man

Format and display manual pages.
More information: https://www.man7.org/linux/man-pages/man1/man.1.html.

  • Display the man page for a command:
    man command

  • Display the man page for a command from section 7:
    man command.7

  • Display the path searched for manpages:
    man --path

  • Display the location of a manpage rather than the manpage itself:
    man -w command

  • Display the man page using a specific locale:
    man command --locale=locale

  • Search for manpages containing a search string:
    man -k "search_string"

[root@localhost sed]#
tldr ls
[root@localhost sed]# tldr ls

ls

List directory contents.
More information: https://www.gnu.org/software/coreutils/ls.

  • List files one per line:
    ls -1

  • List all files, including hidden files:
    ls -a

  • List all files, with trailing / added to directory names:
    ls -F

  • Long format list (permissions, ownership, size, and modification date) of all files:
    ls -la

  • Long format list with size displayed using human readable units (KiB, MiB, GiB):
    ls -lh

  • Long format list sorted by size (descending):
    ls -lS

  • Long format list of all files, sorted by modification date (oldest first):
    ls -ltr

[root@localhost sed]#
tldr tar
[root@localhost sed]# tldr tar

tar

Archiving utility.
Often combined with a compression method, such as gzip or bzip2.
More information: https://www.gnu.org/software/tar.

  • [c]reate an archive and write it to a [f]ile:
    tar cf target.tar file1 file2 file3

  • [c]reate a g[z]ipped archive and write it to a [f]ile:
    tar czf target.tar.gz file1 file2 file3

  • [c]reate a g[z]ipped archive from a directory using relative paths:
    tar czf target.tar.gz --directory=path/to/directory .

  • E[x]tract a (compressed) archive [f]ile into the current directory [v]erbosely:
    tar xvf source.tar[.gz|.bz2|.xz]

  • E[x]tract a (compressed) archive [f]ile into the target directory:
    tar xf source.tar[.gz|.bz2|.xz] --directory=directory

  • [c]reate a compressed archive and write it to a [f]ile, using [a]rchive suffix to determine the compression program:
    tar caf target.tar.xz file1 file2 file3

  • Lis[t] the contents of a tar [f]ile [v]erbosely:
    tar tvf source.tar

  • E[x]tract files matching a pattern from an archive [f]ile:
    tar xf source.tar --wildcards "*.html"

[root@localhost sed]#
参考资料
https://www.hi-linux.com/posts/16098.html
https://blog.csdn.net/xingchenxuanfeng/article/details/89398327

赞赏
本文作者: 蓝蓝
本文链接: https://lanlan2017.github.io/blog/42d91331/
版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
基本正则表达式BRE和扩展正则表达式ERE
Linux cheat命令
昵称
邮箱
网址
填写邮箱可接收回复通知 填写个人网址可为您引流

0 字
评论
来发评论吧~
Powered by Waline v1.6.0
© 2018 – 2024 蓝蓝
站点总字数: 1.6m 站点阅读时长 ≈ 24:57
由 Hexo & NexT.Gemini 强力驱动

http://www.jsqmd.com/news/135026/

相关文章:

  • 别再堆 Prompt 了:用 LangChain 1.0 搭建“深度思考 Agent
  • 哈希-03-字母异位词分组
  • 2025 年全国景观灯厂家十大最新推荐,品质之选照亮城市与庭院 - 深度智识库
  • 2025年市面上诚信的空调机组厂家哪家好,高大空间供暖设备/离心式风幕机/高大空间壁挂式供暖设备,空调机组品牌联系电话 - 品牌推荐师
  • 教育博主实测:2025年高性价比AI智能体开发服务推荐指南 - 品牌测评鉴赏家
  • PyTorch MNIST全连接分类器完整流程
  • 2025年市面上专业的暖风机工厂联系电话,高大空间门侧式供暖设备/吊顶空调机组/空气处理单元,暖风机厂家电话 - 品牌推荐师
  • 深入解析:基于Spring Boot 3 + Spring Security6 + JWT + Redis实现登录、token身份认证
  • 从用户故事到测试用例:一张思维导图搞定需求分析与用例设计
  • 测试团队的技术规划与技术债管理
  • 2025年市面上专业的风幕机厂家联系电话,表冷换热器/高大空间循环空气制热机组/贯流式风幕机,风幕机工厂联系电话 - 品牌推荐师
  • 一些Android平台的早期J2ME实现方案的情况
  • 毕业论文降ai救命指南:知网、维普AIGC检测率高?5款降ai率工具亲测,轻松降到合格线!
  • 一些Android平台的早期J2ME实现方案的情况
  • 测试覆盖率99%≠高质量:我们到底该追求什么样的覆盖率?
  • 2025最新!10个AI论文平台测评:研究生写论文必备神器
  • 2025年12月小学生兴趣班挑选秘籍,家长必看! - 品牌测评鉴赏家
  • 揭秘沃尔玛购物卡回收猫腻,教你安全避坑 - 京顺回收
  • 国内混合机五大头部厂商实力比拼!探寻优质搅拌机设备的技术突破与服务特色 - 速递信息
  • 【珍藏必看】一张图拆解AI Agent:从Prompt到Action的五大核心架构
  • 2025年终母线桥厂家权威推荐:母线/母线槽全品类产品资讯速递 - 深度智识库
  • maven知识回顾
  • 西门子224XP恒压供水系统程序:触摸屏版昆仑通泰与西门子版本、多泵调度与保护功能
  • 物联网(IoT)测试的挑战:硬件、软件与网络的结合
  • ‌从“找Bug的”到“质量倡导者”:敏捷时代测试工程师的价值重塑
  • 2025最新!自考必看10个AI论文平台测评,写论文不再愁
  • 迪士尼如何让雪宝“活“过来?一个动画角色走进现实世界的奇妙旅程
  • 主成分分析 PCA(二)-- 高维 PCA
  • 分布式数据库水平扩展与高可用架构在互联网大规模业务系统优化实践经验分享总结 - 教程
  • 游戏测试与普通软件测试的异同点