标签:
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
标签:
原文地址:http://www.cnblogs.com/dayiran1222/p/4747503.html