Skip to content

Instantly share code, notes, and snippets.

@bahlale
bahlale / bash_upgrade.sh
Last active August 29, 2015 14:06
Bash Upgrade
#!/bin/bash
# Recommend to upgrade Bash package through respective OS vendor channels
# apt-get install --only-upgrade bash (or) yum -y update bash
# This script for updating Bash package if apt-get or yum not woking due to unexpected reasons
# Trying to maintain the exact Bash package from OS vendors to avoid future upgrade issues
centos_bash_upgrade(){