Created
June 4, 2019 15:08
-
-
Save fvztdk/cdd9f291e585f16b7893b7643f7321b1 to your computer and use it in GitHub Desktop.
Find the 50 biggest files over 100mb on linux, sort by size
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
#run as root | |
find / -xdev -type f -size +100M -exec du -sh {} ';' | sort -rh | head -n50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment