Created
February 28, 2018 17:59
-
-
Save k0nsl/225594ef961934491645c23264c2059d to your computer and use it in GitHub Desktop.
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
#clear log files recursively: | |
for i in $(find /var/log -type f); do cat /dev/null > $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment