Created
December 17, 2017 15:39
-
-
Save thedarsideofit/ea186ccb2f1a23149d21162511575c88 to your computer and use it in GitHub Desktop.
Linux Commands
This file contains 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
#Ordenar 5 Directorios que ocupan espacio | |
#https://blog.desdelinux.net/du-ver-directorios-ocupan-espacio/ | |
du -hs * | sort -nr | head -5 | |
#Rotar logs | |
#http://helloit.es/2012/08/rotar-archivos-de-log-con-logrotate/ | |
logrotate -vf /etc/logrotate.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment