Skip to content

Instantly share code, notes, and snippets.

@kyleparisi
Last active April 27, 2020 13:31
Show Gist options
  • Save kyleparisi/36ea1ba5f97c19336e130fa50c5f14d0 to your computer and use it in GitHub Desktop.
Save kyleparisi/36ea1ba5f97c19336e130fa50c5f14d0 to your computer and use it in GitHub Desktop.
du -hs * | sort -rh | head -5
# fix older than 30 days
find -name "*.log" /var/lib/rundeck -type f -mtime +30 -exec rm -f {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment