自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Linux中whatis與makewhatis的作用

系統(tǒng) Linux
在好久沒(méi)有和大家分享 Linux 命令方面的東東了,Linux 是一個(gè)以命令操作為主的系統(tǒng),眾多的命令與其作用,要想都記住也不太現(xiàn)實(shí)。因此,用 man info whatis 等工具來(lái)查看命令的作用就很重要了。 Linux 中的 whatis 命令可以從它的字面意思可以看出來(lái),就是“這是什么”,通過(guò)它可以知道某命令是用來(lái)干什么的,而且是用很簡(jiǎn)短的方式來(lái)描述。

 在好久沒(méi)有和大家分享 Linux 命令方面的東東了,Linux 是一個(gè)以命令操作為主的系統(tǒng),眾多的命令與其作用,要想都記住也不太現(xiàn)實(shí)。因此,用 man info whatis 等工具來(lái)查看命令的作用就很重要了。 Linux 中的 whatis 命令可以從它的字面意思可以看出來(lái),就是“這是什么”,通過(guò)它可以知道某命令是用來(lái)干什么的,而且是用很簡(jiǎn)短的方式來(lái)描述。

如果你是 RHEL 6 的最小化安裝,就沒(méi)有包含 man whatis 命令,你需要安裝 man 。whatis 可能大家會(huì)比較熟悉,但是 makewhatis 呢?其實(shí) whatis 運(yùn)行的結(jié)果是需要把命令的情況檢索到它的數(shù)據(jù)庫(kù)中的。對(duì)于還沒(méi)有這個(gè)數(shù)據(jù)庫(kù)的系統(tǒng),就需要用 makewhatis 命令來(lái)讓系統(tǒng)立即檢索。否則系統(tǒng)將在一定的時(shí)候自動(dòng)檢索。通過(guò)下面的命令運(yùn)行的實(shí)例,大家就應(yīng)該比較清楚地了解到這一點(diǎn)了。

[root@OwnLinux-server media]# whatis whatis
whatis: nothing appropriate
[root@OwnLinux-server media]# whatis makewhatis
makewhatis: nothing appropriate
[root@OwnLinux-server media]# whatis ls
ls: nothing appropriate
[root@OwnLinux-server media]# makewhatis
[root@OwnLinux-server media]# whatis whatis
whatis (1) – search the whatis database for complete words
[root@OwnLinux-server media]# whatis makewhatis
makewhatis (8) – Create the whatis database

原文連接:http://www.ownlinux.cn/2011/04/01/linux-whatis-makewhatis.html

【編輯推薦】

  1. 五個(gè)不容錯(cuò)過(guò)的Linux命令行技巧
  2. 通過(guò)dsh批量管理Linux服務(wù)器
  3. Linux新手應(yīng)該知道的12個(gè)基本命令
責(zé)任編輯:黃丹 來(lái)源: OwnLinux
相關(guān)推薦

2020-12-15 09:08:40

LinuxShell

2011-08-15 15:17:14

ac中文man

2023-05-22 19:49:30

命令Linux

2009-10-22 10:19:57

linux磁盤(pán)命令

2010-06-09 14:36:44

TCP與UDP協(xié)議

2011-05-23 11:22:37

2009-07-08 15:01:00

Servlet的作用

2012-05-03 08:34:15

LinuxKconfig

2011-01-14 13:50:37

2014-08-07 10:06:05

ndroidContext

2010-07-12 14:29:42

BOOTPBOOTP協(xié)議

2012-04-02 14:03:08

web緩存

2009-08-05 17:11:38

匿名方法的作用

2010-01-11 10:15:47

wine安裝

2017-03-06 16:15:17

Linux文件作用與區(qū)別

2011-08-19 08:58:34

Linux

2022-04-02 08:14:02

JavaThreadLoca數(shù)據(jù)

2010-05-25 16:04:45

VoIPVoWLAN

2011-03-02 10:50:37

標(biāo)識(shí)

2020-09-26 07:19:46

Java
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)