- apt-get -s dist-upgrade |grep "^Inst" |grep -i security
若要安裝這些安全性更新套件,則是以root的身份下指令:
- apt-get -s dist-upgrade | grep "^Inst" | grep -i security | awk -F " " {'print $2'} | xargs apt-get --yes install
- sudo unattended-upgrades -d
- sudo apt-get install unattended-upgrades
_EOF_
沒有留言:
張貼留言