How to Update Bash on Red Hat and CentOS

Posted on by J. Mays
Reading Time: < 1 minute
Pre-Flight Check
  • These instructions are intended specifically for updating Bash on Red Hat and CentOS.
  • I’ll be working from both a Liquid Web Core Managed CentOS 6 server and a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root.

Clean-Up Yum

yum clean all

Update Bash

Updating Bash is as simple as running just one command:

yum -y update bash

or… Update All Installed Packages

Optionally, it is possible to update all of the installed packages at once with the following command:

yum -y update

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

How to install Puppet Server on Linux (AlmaLinux)

Read Article

Deploying web applications with NGINX HTTP Server

Read Article

Email security best practices for using SPF, DKIM, and DMARC

Read Article

Linux dos2unix command syntax — removing hidden Windows characters from files

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article