Add 'update.sh'

This commit is contained in:
Tiago Ribeiro 2018-04-07 08:17:21 +01:00
parent d37630fcc5
commit 1934125e64
1 changed files with 22 additions and 0 deletions

22
update.sh Normal file
View File

@ -0,0 +1,22 @@
#!/bin/sh
echo "apt-get update"
sudo apt-get update
echo "apt-get dist-upgrade"
sudo apt-get dist-upgrade
echo "autoclean"
sudo apt-get autoclean
echo "autoremove"
sudo apt-get autoremove
echo "time update"
sudo ntpq -p