man手册

本文提供了一种在Linux系统中高效查找和使用命令的方法,通过使用man手册并指定section numbers,可以方便地定位到所需的关键信息。编写Linux应用程序时,此手册尤为实用,可作为查找函数调用原型的重要资源。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在Linux系统中,我们不可能记住所有的命令,那怎么办,使用man手册去查吧。

1   Executable programs or shell commands
2   System calls (functions provided by the kernel)
3   Library calls (functions within program libraries)
4   Special files (usually found in /dev)
5   File formats and conventions eg /etc/passwd
6   Games
7   Miscellaneous  (including  macro  packages  and  conventions), e.g. man(7), groff(7)
8   System administration commands (usually only for root)
9   Kernel routines [Non standard]

上面的信息是通过man man命令得到的,也就是说,我们在输入man命令查看帮助时,还可以指定section numbers,因为有些关键字可能在多个section里面,这样方便我们查找到正确的信息。编写linux下的应用程序,也可以通过man手册去查找相关的函数调用原型等等信息,所有这个man手册是很有用处的。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值