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. 【06】openlayers 切片图层

    创建地图: //OSM图层 let source = new ol.source.OSM() //切片图层tilelayer let layers = new ol.layer.Tile({ sour ...

  2. 使用express+shell在服务器上搭建一套简单的前端部署系统

    前言 个人项目越来越多,部署需要频繁操作服务器,所以手动搭建一套简单的部署系统. 效果如图 其中包含 原生html+css+js项目,单页面react, vue, angular项目,实现了一键打包发 ...

  3. 移动端Rem适配(基于vue-cli3 ,ui框架用的是vant-ui)

    介绍postcss-pxtorem 是一款 postcss 插件,用于将单位转化为 remlib-flexible 用于设置 rem 基准值 1.安装lib-flexible(用于设置 rem 基准值 ...

  4. 【Weiss】【第03章】练习3.22、3.23、3.24:无代码题,栈的思考题

    [练习3.22] a.提出支持栈的Push和Pop操作以及第三种操作FindMin的数据结构,其中FindMin 返回该数据结构的最小元素,所有操作在最坏情况下的运行时间都是O(1). b.证明,如果 ...

  5. 文件合并cat and paste

    cat 纵向合并 cat file1 file 2 paset横向合并 wc用法 sort用法

  6. JDK14发布了,快来看看有什么新特性吧

    序言

  7. Natas15 Writeup(sql盲注之布尔盲注)

    Natas15: 源码如下 /* CREATE TABLE `users` ( `username` varchar(64) DEFAULT NULL, `password` varchar(64) ...

  8. VMWARE虚拟机安装系统提示CPU已被客户机操作系统禁用和secureCUT乱码

    错误:VMWARE虚拟机安装系统提示CPU已被客户机操作系统禁用 改正:找到虚拟机的位置找到下图灰色的部分:打开 .vmx后缀的操作系统配置文件,加入以下代码: cpuid.1.eax = :: 2. ...

  9. IntelliJ IDEA 2018.1.4 x64安装创建maven项目等

    Intellij IDEA 一:介绍 Jetbrains公司https://www.jetbrains.com/idea/ 1.1版本 Ultimate最终[收费] 网络,移动和企业开发 Web, m ...

  10. 《前端之路》- TypeScript (四) class 中各类属性、方法,抽象类、多态

    目录 一.TypeScript 中的类 二.TypeScript 中类的继承 三.TypeScript 中公共,私有与受保护的修饰符 3-1.属性的 public 3-2.属性的 private 3- ...