Linux搜索工具

  • Search搜索工具

yum search all vim  //搜索vim的安装包

*******************************************

[root@localhost ~]# yum search vim

已加载插件:fastestmirror, langpacks

Loading mirror speeds from cached hostfile

================================================================== N/S matched: vim ==================================================================

vim-X11.x86_64 : The VIM version of the vi editor for the X Window System

vim-common.x86_64 : The common files needed by any version of the VIM editor

vim-enhanced.x86_64 : A version of the VIM editor which includes recent enhancements

vim-filesystem.x86_64 : VIM filesystem layout

vim-minimal.x86_64 : A minimal version of the VIM editor

名称和简介匹配 only,使用“search all”试试。

[root@localhost ~]# yum search all vim

已加载插件:fastestmirror, langpacks

Loading mirror speeds from cached hostfile

====================================== 匹配:vim =======================

vim-X11.x86_64 : The VIM version of the vi editor for the X Window System

vim-common.x86_64 : The common files needed by any version of the VIM editor

vim-enhanced.x86_64 : A version of the VIM editor which includes recent enhancements

vim-filesystem.x86_64 : VIM filesystem layout

vim-minimal.x86_64 : A minimal version of the VIM editor

grilo-plugins.x86_64 : Plugins for the Grilo framework

[root@localhost ~]#

*************************************************************************************************

  • Provides搜索工具

yum provides vim  //查询某个程序所在安装包

[root@localhost ~]# yum provides vim

已加载插件:fastestmirror, langpacks

Loading mirror speeds from cached hostfile

2:vim-enhanced-7.4.160-4.el7.x86_64 : A version of the VIM editor which includes recent

: enhancements

源    :mnt_dvd

匹配来源:

提供    :vim = 7.4.160-4.el7

2:vim-enhanced-7.4.160-4.el7.x86_64 : A version of the VIM editor which includes recent

: enhancements

源    :@anaconda

匹配来源:

提供    :vim = 7.4.160-4.el7

[root@localhost ~]# yum provides ab

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

base                                                                         | 3.6 kB  00:00:00

epel                                                                         | 4.7 kB  00:00:00

extras                                                                       | 3.4 kB  00:00:00

updates                                                                      | 3.4 kB  00:00:00

(1/4): extras/7/x86_64/primary_db                                            | 188 kB  00:00:00

(2/4): epel/x86_64/updateinfo                                                | 988 kB  00:00:00

(3/4): epel/x86_64/primary_db                                                | 6.7 MB  00:00:00

(4/4): updates/7/x86_64/primary_db                                           | 3.4 MB  00:00:00

epel/x86_64/filelists_db                                                     |  11 MB  00:00:00

extras/7/x86_64/filelists_db                                                 | 236 kB  00:00:00

updates/7/x86_64/filelists_db                                                | 3.0 MB  00:00:00

httpd-tools-2.4.6-88.el7.centos.x86_64 : Tools for use with the Apache HTTP Server

Repo        : base

Matched from:

Filename    : /usr/bin/ab

---------------------

Linux搜索工具的更多相关文章

  1. Linux 下的类似Windows下Everything的搜索工具

    Windows NTFS有个超级快的搜索工具Everything,非常好用,Linux下有几个类似的命令行工具,太难用了,推荐一个catfish,类似Everything,有GUI,可以自定义一个快捷 ...

  2. [linux] grep 文本搜索工具

    grep [option] pattern file Linux系统中grep命令是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来.grep全称是Global Regular ...

  3. Everything:速度最快的文件名搜索工具(Linux版本) 转

    Everything是windows的一个快速搜索工具. 基本上转移到Linux上来后,没有怎么用过. 一直在用Gnome-Do,感觉还可以. 这个程序只是用来练习wxPython用的,目前还只是一个 ...

  4. Linux 命令行下搜索工具大盘点,效率提高不止一倍!

    在 Linux 命令行下进行文本关键字的搜索,大家肯定第一时间会想到 grep 命令.grep 命令确实十分强大,但如果需要用到它更加灵活的功能时,可能命令就会显得十分复杂. 于是,为了简化 grep ...

  5. 命令行的全文搜索工具--ack

    想必大家在命令行环境下工作时候,一定有想要查找当前目录下的源代码文件中的某些字符的需求,这时候如果使用传统方案,你可能需要输入一长串的命令,比如这样: 1. grep -R 'string' dir/ ...

  6. Linux/Unix工具与正则表达式的POSIX规范

    http://www.infoq.com/cn/news/2011/07/regular-expressions-6-POSIX 对正则表达式有基本了解的读者,一定不会陌生『\d』.『[a-z]+』之 ...

  7. 基于文本图形(ncurses)的文本搜索工具 ncgrep

    背景 作为一个VIM党,日常工作开发中,会经常利用grep进行关键词搜索,以快速定位到文件.如图: 利用grep进行文本搜索 但是,这一过程会有两个效率问题: 展示的结果无法进行直接交互,需要手动粘贴 ...

  8. 一个比ack速度快n倍的代码搜索工具: ag

    一个比ack速度快n倍的代码搜索工具:  ag 银搜索者(The Silver Searcher) 一个类似于代码搜索工具ack,着重于速度. Github:   https://github.com ...

  9. [转帖]推荐一款比 Find 快 10 倍的搜索工具 FD

    推荐一款比 Find 快 10 倍的搜索工具 FD https://www.hi-linux.com/posts/15017.html 试了下 很好用呢. Posted by Mike on 2018 ...

随机推荐

  1. go 广度搜索案例(迷宫)

    package main import ( "fmt" "os" ) /* *将文档结构读入到切片中(二维数组) *row, col 行数 列数 (文档第一行数 ...

  2. npm 安装 electron 出现的奇葩错误

    起因 使用yarn安装electron有时稳定,在搭配别的框架时有时又出现无解的错误了,于是打开electron官网,发现: emm,似乎官方对npm情有独钟.于是我遵从官方旨意使用npm安装elec ...

  3. go例子(三) 使用context实现发牌手策略

    使用context包实现发牌手策略, 发牌手策略:罗永浩在介绍TNT工作站时描述,将一个任务分发给多个处理者处理,谁先处理完使用谁的结果,取消其他的处理者的任务. 经典的例子:同时在百度.google ...

  4. java-3个例子(新手)

    //创建的一个包名. package ri0318; //创建的一个类. public class Li3 { //公共静态的主方法. public static void main(String[] ...

  5. 泛微E-cology OA 远程代码执行漏洞

    分析文章:https://dwz.cn/bYtnsKwa http://127.0.0.1/weaver/bsh.servlet.BshServlet 若存在如上页面,则用下面数据包进行测试. POS ...

  6. 单调栈-Maximum Width Ramp

    2020-01-23 19:39:26 问题描述: 问题求解: public int maxWidthRamp(int[] A) { Stack<Integer> stack = new ...

  7. spring-boot-plus-v2.0发布了-让天下没有难写的代码

    spring-boot-plus是易于使用,快速,高效,功能丰富,开源的spring boot脚手架 前后端分离,专注于后端服务 目标 每个人都可以独立.快速.高效地开发项目! GITHUB | GI ...

  8. 1、Spark Core所处位置和主要职责

    Spark组件是基于分布式资源引擎层(Yarn等)和分布式存储层(HDFS等)之上的一个组件,Spark本质上是一个计算引擎,负责计算的,根据不同计算场景划分出了SQL.Streaming.MLib. ...

  9. Building Applications with Force.com and VisualForce (DEV401) (二三):Visualforce Componets (Tags) Library Part III

    Dev401-024:Visualforce Pages: Visualforce Componets (Tags) Library Part IIIStatic Resources1.Static ...

  10. 使用DeepWalk从图中提取特征

    目录 数据的图示 不同类型的基于图的特征 节点属性 局部结构特征 节点嵌入 DeepWalk简介 在Python中实施DeepWalk以查找相似的Wikipedia页面 数据的图示 当你想到" ...