zoukankan      html  css  js  c++  java
  • Linux搜索工具

                                                                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

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

  • 相关阅读:
    websocket的理解&应用&场景
    如何设置winform程序图标
    Python简单爬虫爬取自己博客园所有文章
    分享一个自己做的SpringMVC的PPT
    2016校招薪资汇总
    2016阿里巴巴校招offer面经
    利用快排partition求前N小的元素
    几个面试经典算法题Java解答
    深入理解java垃圾回收机制
    深入理解JVM结构
  • 原文地址:https://www.cnblogs.com/qingbai/p/11933533.html
Copyright © 2011-2022 走看看