欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 健康 > 养生 > whatis命令:关于命令的简短描述

whatis命令:关于命令的简短描述

2025/9/25 19:46:13 来源:https://blog.csdn.net/qq_38641599/article/details/142663149  浏览:    关键词:whatis命令:关于命令的简短描述

一、命令简介

whatis​ 命令用于查询命令、函数、文件等的基本用途,查询结果只是一句简短的描述。


例如

$ whatis ls
ls (1)               - list directory contents

返回关于 ls 命令的简短描述。这个结果实质是来自于man手册的一个章节,在较新的Linux 发行版中已经使用 man -f command​ 命令取代 whatis command​ 命令了。


二、命令参数

whatis command

三、命令示例

whatis ls
ls (1)               - list directory contentswhatis mdadm
mdadm (8)            - manage MD devices aka Linux Software RAIDwhatis locate
locate (1)           - find files by name, quicklywhatis chmod
chmod (1)            - change file mode bits
chmod (2)            - change permissions of a filewhatis chgrp
chgrp (1)            - change group ownershipwhatis useradd
useradd (8)          - create a new user or update default new user informationwhatis userdel
userdel (8)          - delete a user account and related fileswhatis tar
tar (1)              - an archiving utility

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词