How to Update Bash on CentOS 6 and CentOS 7
- These instructions are intended specifically for updating Bash on CentOS 6 and CentOS 7.
- 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.
yum clean all
Updating Bash is as simple as running just one command:
yum -y update bash
Optionally, it is possible to update all of the installed packages at once with the following command:
yum -y update
Related Articles:
![Avatar for J. Mays](/static/b9bfb850e038ebe4b3c49dd278744eee/9ca7a/b0da076b6e8552394da33fe3381a19fc.png)
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!
Our Sales and Support teams are available 24 hours by phone or e-mail to assist.
Latest Articles
How to install PyTorch on Linux (AlmaLinux)
Read ArticleInnovative armor — exploring ThreatDown’s impact on cyber defense
Read ArticleControlling PHP settings with a custom php.ini file
Read ArticleLinux dos2unix command syntax — removing hidden Windows characters from files
Read ArticleChange cPanel password from WebHost Manager (WHM)
Read Article