Security patch Debian server

Hey there!

Today I will tell you a very simple guide to apply security patches to your Debian system.

So first, we may want to see the updates available:

apt-get -s dist-upgrade |grep "^Inst" |grep -i securi

Now, to apply those, just run:

apt-get -s dist-upgrade | grep "^Inst" | grep -i securi | awk -F " " {'print $2'} | xargs apt-get install

Cool, isn’t it?

 

Have a good day!

Robot(ICT) guy

  • Was this Helpful ?
  • yes   no

Published by

Lukas Vu

I started in IT with my own business since high school providing automated and centralized hosting solutions to end customers. Nowadays I'm focusing on corporate area, analyzing, managing and improving customer's IT environments. My main focus nowadays is automation and architectural improvements.

Leave a Reply

Your email address will not be published. Required fields are marked *