Last active
July 10, 2018 18:51
-
-
Save nerijunior/b693873386dbe17c942f35792b4f67bd to your computer and use it in GitHub Desktop.
Remove old logs
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
# +10 = ten days | |
find /var/log/* -mtime +10 -exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment