Created
November 11, 2015 11:28
-
-
Save beherca/96d1e0bfdade6f297f38 to your computer and use it in GitHub Desktop.
Find Large File on Ubuntu
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
# Find Largest File, http://www.cyberciti.biz/faq/find-large-files-linux/ | |
sudo du -a | sort -nr | head | |
sudo du -sx /* 2>/dev/null | sort -n | |
#Delete file older than 10 days | |
# find /usr/backup/jira -type f -mtime +10 -exec rm {} \; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment