Last active
August 29, 2015 14:07
-
-
Save weakish/a20a69819fa3c5299b5b to your computer and use it in GitHub Desktop.
Fetch and apply all #security updates for #Debian in #sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# by Jakukyo Friel <weakish@gmail.com> (http://weakish.github.io) | |
# under Apache-2.0 | |
# Fetch and apply all security updates for #Debian. | |
sudo apt-get install $(debsecan --suite $(lsb_release -a | grep -o -P '(?<=Codename:[\s]).*') --format packages) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment