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