Last active
May 3, 2019 09:52
-
-
Save henrytriplette/cabde9d874dbd779fe87d6d89f1145d6 to your computer and use it in GitHub Desktop.
Revisions
-
henrytriplette revised this gist
May 3, 2019 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,7 @@ sudo du -xh / | grep -P "G\t" ## Cleanup ``` sudo apt-get clean sudo apt-get autoclean sudo apt-get autoremove ``` @@ -18,3 +19,8 @@ sudo apt-get autoremove ``` sudo logrotate -d /etc/logrotate.conf ``` ## Remove unused programs ``` sudo apt-get purge wolfram-engine libreoffice* scratch -y ``` -
henrytriplette revised this gist
May 3, 2019 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,8 @@ ## List Free Space ``` df -Bm ``` ## List Space by usage ``` sudo du -xh / | grep -P "G\t" -
henrytriplette created this gist
Feb 11, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ ## List Space by usage ``` sudo du -xh / | grep -P "G\t" ``` ## Cleanup ``` sudo apt-get autoclean sudo apt-get autoremove ``` ## Rotate logs ``` sudo logrotate -d /etc/logrotate.conf ```