一、命令简介
whatis
命令用于查询命令、函数、文件等的基本用途,查询结果只是一句简短的描述。
例如
$ whatis ls
ls (1) - list directory contents
返回关于 ls 命令的简短描述。这个结果实质是来自于man手册的一个章节,在较新的Linux 发行版中已经使用 man -f command
命令取代 whatis command
命令了。
二、命令参数
whatis command
三、命令示例
whatis ls
ls (1) - list directory contents
whatis mdadm
mdadm (8) - manage MD devices aka Linux Software RAID
whatis locate
locate (1) - find files by name, quickly
whatis chmod
chmod (1) - change file mode bits
chmod (2) - change permissions of a file
whatis chgrp
chgrp (1) - change group ownership
whatis useradd
useradd (8) - create a new user or update default new user information
whatis userdel
userdel (8) - delete a user account and related files
whatis tar
tar (1) - an archiving utility
标签:whatis,chmod,简短,命令,command,user,ls From: https://blog.csdn.net/qq_38641599/article/details/142663149