答案:
方法一:yum search bash
[root@oldboy~]#yumsearchbashLoadedplugins:fastestmirror,security Loadingmirrorspeedsfromcachedhostfile *base:mirrors.aliyun.com *epel:mirrors.aliyun.com *extras:mirrors.aliyun.com *updates:mirrors.aliyun.com =====================================N/SMatched:bash====================================== bash-argsparse.noarch:Anhighlevelargumentparsinglibraryforbash bash-completion.noarch:ProgrammablecompletionforBash bash-doc.x86_64:Documentationfilesforbash easybashgui.noarch:Bashfunctionlibrary gromacs-bash.noarch:GROMACSbashcompletion pcp-pmda-bash.x86_64:PerformanceCo-Pilot(PCP)metricsfortheBashshell bash.x86_64:TheGNUBourneAgainshell bats.noarch:BashAutomatedTestingSystem bti.x86_64:BashTwitterIdiocy python-argcomplete.noarch:Bashtabcompletionforargparse sys_basher.x86_64:Amultithreadedhardwareexerciser .......
方法二:
[root@oldboy~]#yumlist|grep^bash bash.x86_644.1.2-33.el6@anaconda-CentOS-201508042137.x86_64/6.7 bash-completion.noarch1:1.3-7.el6@epel bash.x86_644.1.2-48.el6base bash-argsparse.noarch1.7-1.el6epel bash-doc.x86_644.1.2-48.el6base
备注
今天是每日一题陪伴大家的第117天,期待你的进步。