Created
January 16, 2021 21:39
-
-
Save m-esm/5dbf0c3a9efbb4dacd603102f376227f to your computer and use it in GitHub Desktop.
multiple command to delete cache and logs to free up disk space
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
sudo rm /var/lib/snapd/cache/* | |
sudo journalctl --vacuum-size=10M | |
sudo npm cache clean --force | |
sudo yarn cache clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment