DbAppWeb.com

Menu
  • Home
  • Linux
  • HP-UX
  • macOS
  • Windows
  • Web Servers
  • App Servers
  • Storage

How to Find Last Patch Date of RHEL Servers

August 3, 2020 DbAppWeb Admin

To find out the last patch date of a Red Hat Enterprise Linux server you may use the rpm command or see the /var/log/yum.log file.

Find Last Patch Date of RHEL Server

Login to the server and open the terminal or connect to the server through ssh using PuTTY etc. and run the command rpm -qa –last to find out the date of the rpm packages on which they had updated on an RHEL server.

[user@dbappweb.com ~]$ rpm -qa --last
iwl3160-firmware-25.30.13.0-76.el7.noarch     Sun 02 Aug 2020 07:09:05 PM IST
NetworkManager-config-server-1.18.4-3.el7.noarch Sun 02 Aug 2020 07:09:04 PM IST
iwl7260-firmware-25.30.13.0-76.el7.noarch     Sun 02 Aug 2020 07:09:04 PM IST
iwl6050-firmware-41.28.5.1-76.el7.noarch      Sun 02 Aug 2020 07:09:04 PM IST
iwl6000g2a-firmware-18.168.6.1-76.el7.noarch  Sun 02 Aug 2020 07:09:04 PM IST
.
.
.

 

You can also get the date of patching on an RHEL server by checking the /var/log/yum.log file.

[user@dbappweb.com ~]$ sudo tail /var/log/yum.log
Aug 02 19:04:46 Updated: libgcc-4.8.5-39.el7.x86_64
Aug 02 19:04:46 Updated: redhat-release-server-7.8-2.el7.x86_64
Aug 02 19:04:47 Updated: 1:grub2-common-2.02-0.86.el7_8.noarch
Aug 02 19:04:47 setup-2.8.71-11.el7.noarch: 100
Aug 02 19:04:47 Updated: 1:liberation-fonts-common-1.07.2-16.el7.noarch
Aug 02 19:04:49 Updated: filesystem-3.2-25.el7.x86_64
Aug 02 19:04:50 Updated: 1:grub2-pc-modules-2.02-0.86.el7_8.noarch
Aug 02 19:04:50 Updated: 32:bind-license-9.11.4-16.P2.el7_8.6.noarch
Aug 02 19:04:52 Updated: kbd-misc-1.15.5-15.el7.noarch
Aug 02 19:04:52 Installed: dejavu-fonts-common-2.33-6.el7.noarch

 

Get the rpm Packages Update History

You can use the following command to check the update history of a particular package.

$ rpm -q <package-name> --last

Example: Below command shows the update history of the kernel.

[user@dbappweb.com ~]$ rpm -q kernel --last
kernel-3.10.0-1127.18.2.el7.x86_64            Sun 02 Aug 2020 07:07:48 PM IST
kernel-3.10.0-1062.4.1.el7.x86_64             Sun 20 Oct 2019 10:09:48 AM IST
kernel-3.10.0-862.14.4.el7.x86_64             Thu 04 Oct 2018 01:56:55 PM IST

For a complete package, update history use the following command.

[user@dbappweb.com ~]$ rpm -qa --last

Last Updated: Aug 03, 2020

Related Posts

  • How to Find Out RHEL 6 / RHEL 7 Kernel Version
  • Define Password Policy and Aging in Linux/RHEL 6
  • How to Disable SELinux in RHEL
  • Linux command to get Hardware Serial Number
  • How to sort the directories in Linux/RHEL
  • How to view/print routing table in Linux
  • How to Disable Root SHH Login in RHEL
  • How to Set or Change System Hostname in RHEL 7

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
Prev Article
Next Article
Tags:Linux RedHat Linux RHEL RHEL 7

Leave a Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Popular
  • Recent

Categories

  • Android (2)
  • Blogger (16)
  • Domain and Hosting (1)
  • Hardware Issues (7)
  • HP-UX (55)
  • HPE Data Protector (9)
  • IBM Lotus Notes (2)
  • IBM WebSphere Application Server (16)
  • Internet Tips & Tricks (15)
  • iOS (8)
  • JBoss/WildFly Application Server (2)
  • Linux (76)
  • macOS (15)
  • Microsoft Windows (31)
  • News and Updates (11)
  • Oracle Database (5)
  • SSL/TLS (1)
  • Storage Servers (23)
  • Tools/Softwares (1)
  • VMware ESXi (17)
  • Web Servers (14)
  • WordPress (5)

Archives

DbAppWeb.com

Solution of Database, Application and Web Server Problems

About DbAppWeb.com

One Stop Solution for Database Server, Application Server and Web Server Problems.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DbAppWeb on Social Media

Copyright © 2025 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com