CentOS6.5安装Tab增强版:bash-completion

CentOS6.5安装Tab增强版:bash-completion,可补全命令参数;

因为CentOS官方源并不带有bash-completion的包,所以,为了可用yum安装,增加epel的源,

首先,使用wget下载epel的rpm包,使用rpm指令安装,之后运行yum安装,代码如下:

[adam@ultraera ~]$ wget http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm

[adam@ultraera ~]$ sudo rpm -ivh epel-release-6-8.noarch.rpm

[adam@ultraera ~]$ sudo yum clean all

[adam@ultraera ~]$ sudo yum makecache

[adam@ultraera ~]$ sudo yum install -y bash-completion


你可能感兴趣的:(CentOS6.5安装Tab增强版:bash-completion)