whatis

whatis

查询一个命令执行什么功能

补充说明

whatis命令 是用于查询一个命令执行什么功能,并将查询结果打印到终端上。

whatis命令在用catman -w命令创建的数据库中查找command参数指定的命令、系统调用、库函数或特殊文件名。whatis命令显示手册部分的页眉行。然后可以发出man命令以获取附加的信息。whatis命令等同于使用man -f命令。

语法

whatis

实例

[root@localhost ~]# whatis ls
ls                   (1)  - list directory contents
ls                   (1p)  - list directory contents

[root@localhost ~]# whatis cp
cp                   (1)  - copy files and directories
cp                   (1p)  - copy files

[root@localhost ~]# whatis chown
chown                (1)  - change file owner and group
chown                (1p)  - change the file ownership
chown                (2)  - change ownership of a file
chown                (3p)  - change owner and group of a file

[root@localhost ~]# whatis man
man                  (1)  - format and display the on-line manual pages
man                  (1p)  - display system documentation
man                  (7)  - macros to format man pages
man                 (rpm) - A set of documentation tools: man, apropos and whatis.
man-pages           (rpm) - Man (manual) pages from the Linux Documentation Project.
man.config [man]     (5)  - configuration data for man

若文章对你有帮助,可以点赞或打赏支持我们。发布者:Aurora,转载请注明出处:http://61.174.243.28:13541/AY-knowledg-hub/whatis/

(0)
AuroraAurora站点维系者
上一篇 2024年 1月 3日 下午5:54
下一篇 2024年 1月 3日 下午5:54

相关推荐

  • HTML 编辑器

    可以使用专业的 HTML 编辑器来编辑 HTML,菜鸟教程为大家推荐几款常用的编辑器: VS Code:https://code.visualstudio.com/ Sublime…

    2023年 4月 11日
  • 缓冲信道和工作池(Buffered Channels and Worker Pools)

    文章目录缓冲信道和工作池(Buffered Channels and Worker Pools)什么是缓冲信道?示例一示例二死锁长度 vs 容量WaitGroup工作池的实现 缓冲…

    2023年 12月 5日
  • perl

    文章目录perl补充说明语法选项参数 perl perl语言解释器 补充说明 perl命令 是perl语言解释器,负责解释执行perl语言程序。 语法 perl(选项)(参数) 选…

    入门教程 2024年 3月 1日
  • grep

    文章目录grep补充说明选项规则表达式grep命令常见用法grep递归搜索文件 grep 强大的文本搜索工具 补充说明 grep (global search regular ex…

    入门教程 2023年 12月 14日
  • cat

    文章目录cat概要主要用途参数选项返回值例子注意参考链接 cat 连接多个文件并打印到标准输出。 概要 cat [OPTION]… [FILE]… 主要用途 显示文件内容,…

    入门教程 2023年 12月 7日
  • Java String 类

    字符串广泛应用 在 Java 编程中,在 Java 中字符串属于对象,Java 提供了 String 类来创建和操作字符串。 文章目录创建字符串StringDemo.java 文件…

    2023年 3月 4日
  • mii-tool

    文章目录mii-tool补充说明语法选项实例 mii-tool 配置网络设备协商方式的工具 补充说明 mii-tool命令 是用于查看、管理介质的网络接口的状态,有时网卡需要配置协…

    入门教程 2024年 1月 3日
  • lvscan

    文章目录lvscan补充说明语法选项实例 lvscan 扫描逻辑卷 补充说明 lvscan命令 用于扫描当前系统中存在的所有的LVM逻辑卷。使用lvscan指令可以发现系统中的所有…

    入门教程 2023年 12月 19日
  • Java 变量类型

    在Java语言中,所有的变量在使用前必须声明。声明变量的基本格式如下: type identifier [ = value][, identifier [= value] …]…

    入门教程 2023年 3月 4日
  • jobs

    文章目录jobs概要主要用途选项返回值例子注意 jobs 显示作业的状态。 概要 jobs [-lnprs] [jobspec …] jobs -x command [args…

    入门教程 2023年 12月 19日

发表回复

登录后才能评论
Translate »