• 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

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

  • 相关阅读:
    Dice 5 ==> dice 7
    Dice 7 ==> dice 5
    100 floors 2 eggs
    Determine overlapping rectangles
    Product of integers
    Maximum profit of stocks
    样式表
    20170508
    2017年05月07
    The second day of school
  • 原文地址:https://www.cnblogs.com/qingbai/p/11933533.html
Copyright © 2020-2023  润新知