当前位置: 首页 > news >正文

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

http://www.lryc.cn/news/450629.html

相关文章:

  • ICM20948 DMP代码详解(54)
  • RabbitMQ的应用问题
  • C++14:通过make_index_sequence实现将tuple转换为array
  • Linux中修改MySQL密码
  • 华为OD真题机试-英文输入法(Java)
  • 【React 】入门Day01 —— 从基础概念到实战应用
  • 2024年9月总结及随笔之丢卡
  • sql语法学习 sql各种语法 sql增删改查 数据库各种操作 数据库指令
  • 鸡兔同笼,但是线性代数
  • 01---java面试八股文——springboot---10题
  • 计算机毕业设计 二手图书交易系统的设计与实现 Java实战项目 附源码+文档+视频讲解
  • 【进阶OpenCV】 (3)--SIFT特征提取
  • HarmonyOS/OpenHarmony Audio 实现音频录制及播放功能
  • css 中 ~ 符号、text-indent、ellipsis、ellipsis-2、text-overflow: ellipsis、::before的使用
  • Activiti 工作流大致了解
  • 速盾:高防 CDN,网站安全的有力保障
  • 宝塔搭建nextcould 30docker搭建onlyoffic8.0
  • 【源码+文档+调试讲解】交通信息管理系统
  • 小阿轩yx-案例:Ansible剧本文件实践
  • 【ShuQiHere】深入理解微架构(Microarchitecture):LC-3 的底层实现 ️
  • Ubuntu24.04.1系统下VideoMamba环境配置
  • c++第十二章续(队列结构类模拟)
  • 数据集-目标检测系列-豹子 猎豹 检测数据集 leopard>> DataBall
  • 基于ESP8266—AT指令连接阿里云+MQTT透传数据(3)
  • redis的数据结构,内存处理,缓存问题
  • 机器学习模型评估与选择
  • Web认识 -- 第一课
  • Recaptcha2 图像识别 API 对接说明
  • 6种MySQL高可用方案对比分析
  • FastAPI: websocket的用法及举例