Skip to content

Instantly share code, notes, and snippets.

@fridzema
Last active November 7, 2019 13:12
Show Gist options
  • Save fridzema/6b80266a9993f907aed58f18fc658c64 to your computer and use it in GitHub Desktop.
Save fridzema/6b80266a9993f907aed58f18fc658c64 to your computer and use it in GitHub Desktop.
maitenance
#!/bin/bash
sudo apt-get autoremove -y;
sudo apt-get autoclean -y;
sudo updatedb;
sync; echo 1 > /proc/sys/vm/drop_caches
sudo reboot -h now;
echo 'Maitenance tasks finished 🍻'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment