Created
November 6, 2017 16:22
-
-
Save ninjarobot/1419169d09ec4df2953992c7bff19e02 to your computer and use it in GitHub Desktop.
Clean up Ubuntu periodically
This file contains hidden or 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/bash | |
sudo apt-get clean # removes cached packages | |
sudo apt autoremove --purge # removes old kernels |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice display of usage with
baobab
.