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

相关推荐

  • logout

    文章目录logout补充说明语法 logout 退出当前登录的Shell 补充说明 logout命令 用于退出当前登录的Shell,logout指令让用户退出系统,其功能和logi…

    入门教程 2023年 12月 19日
  • Helm | Helm 展示value

    文章目录helm show values简介可选项从父命令继承的命令请参阅 helm show values 显示chart的values 简介 该命令检查chart(目录、文件或…

    入门教程 2023年 12月 14日
  • SQL SELECT DISTINCT 语句

    SELECT DISTINCT 语句用于返回唯一不同的值。 文章目录SQL SELECT DISTINCT 语句SQL SELECT DISTINCT 语法SELECT DISTI…

    2023年 5月 28日
  • popd

    文章目录popd概要主要用途选项参数返回值例子注意参考链接 popd 从目录堆栈中删除目录。 概要 popd [-n] [+N | -N] 主要用途 从目录堆栈中删除目录,如果是顶…

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

    文章目录file补充说明语法选项参数实例 file 用来探测给定文件的类型 补充说明 file命令 用来探测给定文件的类型。file命令对文件的检查分为文件系统、魔法幻数检查和语言…

    入门教程 2023年 12月 14日
  • iOS 简介

    iOS之前被称为 iPhone OS,是一个由苹果公司开发的移动操作系统。 iOS的第一个版本是在2007年发布的,其中包括iPhone和iPod Touch。 2010年1月27…

    2023年 4月 10日
  • usernetctl

    文章目录usernetctl补充说明语法参数 usernetctl 被允许时操作指定的网络接口 补充说明 usernetctl命令 在用于被允许时操作指定的网络接口。 语法 use…

    入门教程 2024年 3月 11日
  • Git 查看提交历史

    Git 提交历史一般常用两个命令: git log – 查看历史提交记录。 git blame – 以列表形式查看指定文件的历史修改记录。 git log …

    2024年 4月 30日
  • lvreduce

    文章目录lvreduce补充说明语法选项参数实例 lvreduce 收缩逻辑卷空间 补充说明 lvreduce命令 用于减少LVM逻辑卷占用的空间大小。使用lvreduce命令收缩…

    入门教程 2023年 12月 19日
  • Helm | Helm 卸载

    文章目录helm uninstall简介可选项从父命令继承的命令请参阅 helm uninstall 卸载版本 简介 该命令使用版本名称卸载版本 会删除与最新版本chart相关的所…

    入门教程 2023年 12月 14日

发表回复

登录后才能评论
Translate »