Red Hat 4.8: how to find out last server update?

Hello Experts,

what commands do I need to find out the last server update? what it was and when...

Thank you
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can try running: "cat /var/log/messages* | grep up2date"

That should show you when the last time up2date was run and what was installed.  I don't have a Redhat 4.x server to try it on at the moment though, all I have is 5.x which uses yum instead of up2date.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial


There are two directories in /var/spool :


When you run up2date, it installs all the new rpm's in 1st directory. While it is installing or upgrading, it keeps the original ones in 2nd (if later, roll back is required).

Thus in general, one good way to find when was the last time up2date was run is to do:

#ls -ld /var/spool/up2date

This will give you the time it was last modified

And also, you can do:
# cd /var/spool/up2date
#ls -alrt

Thus the last package date will clearly tell you the time when up2date was run.

Hope this is what you were looking for.
epifanio67Author Commented:
Thank you so much experts
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.