Report (and track progress on fixing) bugs via the findutils bug-reporting
page at http://savannah.gnu.org/ or, if you have no web access, by sending
email to <bug-findutils@gnu.org>.
[root@VM-8-3-centos ~]#
man示例
# man是manual(操作说明)的缩写
# -f 是man的可选设置
[root@VM-8-3-centos ~]# man -f ls # 将所有操作说明中有关`ls`的page列出来(1-9,共9个page)
ls (1) - list directory contents
[root@VM-8-3-centos ~]#
page
内容
1
用户在shell中可以操作的命令或执行文件
2
系统内核可调用的函数与工具
3
一些常用的函数或函数库,大部分为C的函数库(libc)
4
设备文件说明,通常在/dev目录下的文件
5
配置文件或是某些文件的格式
6
游戏(games)
7
惯例与协议等,例如Linux文件系统、网络协议、ASCII代码等的说明
8
系统管理员可用的管理命令
9
跟内核有关的文件
[root@VM-8-3-centos ~]# man 1 ls
# 执行 man 1 ls后跳转到的man page,提供了ls命令的说明和用法
LS(1) User Commands LS(1)
NAME
ls - list directory contents
SYNOPSIS
ls [OPTION]... [FILE]...
DESCRIPTION
List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
Mandatory arguments to long options are mandatory for short options too.
-a, --all
do not ignore entries starting with .
-A, --almost-all
do not list implied . and ..
--author
with -l, print the author of each file
-b, --escape
print C-style escapes for nongraphic characters
--block-size=SIZE
scale sizes by SIZE before printing them; e.g., '--block-size=M' prints sizes in units of 1,048,576 bytes; see SIZE format below
-B, --ignore-backups
do not list implied entries ending with ~
-c with -lt: sort by, and show, ctime (time of last modification of file status information); with -l: show ctime and sort by name; otherwise: sort by ctime, newest
first
-C list entries by columns
--color[=WHEN]
colorize the output; WHEN can be 'never', 'auto', or 'always' (the default); more info below
-d, --directory
list directories themselves, not their contents
-D, --dired
generate output designed for Emacs' dired mode
-f do not sort, enable -aU, disable -ls --color
-F, --classify
append indicator (one of */=>@|) to entries
--file-type
likewise, except do not append '*'
Manual page ls(1) line1 (press h for help or q to quit) # 按h帮助,按q退出man page返回命令行
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)