加入收藏 | 设为首页 | 会员中心 | 我要投稿 云计算网_泰州站长网 (http://www.0523zz.com/)- 视觉智能、AI应用、CDN、行业物联网、智能数字人!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

帮你掌握Linux:从Manual手册中获得全局掌控感

发布时间:2021-05-15 11:13:46 所属栏目:Linux 来源:互联网
导读:当今可能我们很多人已经不频繁使用man命令了,取而代之的是更加友好简单的tldr。 $tldrdu|head du Diskusage:estimate and summarizefile and directory space usage. -Listthesizes of adirectory and any subdirectories, in thegivenunit(B/KB/MB): du-{{

当今可能我们很多人已经不频繁使用man命令了,取而代之的是更加友好简单的tldr。


  1. $ tldr du |head  
  2. du 
  3. Disk usage: estimate and summarize file and directory space usage. 
  4.  
  5.  - List the sizes of a directory and any subdirectories, in the given unit (B/KB/MB): 
  6.    du -{{b|k|m}} {{path/to/directory}} 
  7.  - List the sizes of a directory and any subdirectories, in human-readable form (i.e. auto-selecting the appropriate unit for each size): 
  8.    du -h {{path/to/directory}}r 
  9.  - Show the size of a single directory, in human readable units: 

然而,man命令始终是我个人的最爱。每当心情低落时候,我就会中用man命令信步由缰的做各种查询。从中慢慢获得秩序感,全局的掌控感,低落的心情也慢慢疗愈。

man命令让我们与计算机对话沟通,又仿佛促使我们与计算机融为一体,人机合一。

从结果中,我们看到Manual手册共分为9个章节(sections)。似乎有点多,我们将归类为4个部分。

  • 前三项是commands(shell-commands, system-calls,libraries)
  • 接着是files(special-file,file-format)
  • 然后是Miscellaneous, Game也放在这里
  • 最后是System(Administation,Kernel)

(编辑:云计算网_泰州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读