Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save altif227/bcce9dadb78ff26d454a7e86cf6b5993 to your computer and use it in GitHub Desktop.
Save altif227/bcce9dadb78ff26d454a7e86cf6b5993 to your computer and use it in GitHub Desktop.
Install bash-completion on Amazon Linux
## Install bash-completion on Amazon Linux
wget http://www.caliban.org/files/redhat/RPMS/noarch/bash-completion-20060301-1.noarch.rpm
rpm -ivh bash-completion-20060301-1.noarch.rpm
. /etc/bash_completion
@altif227
Copy link
Author

install the bash-completion with yum on CentOS 6 or Amazon Linux AMI 2018.03

yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
yum-config-manager --enable epel
yum cleanall
yum install bash-completion
. /etc/bash_completion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment