October 24, 2016 · Notes

Note: List large files on Ubuntu

This may come in handy. There is sometimes a need to list out files that consume the most space on your disk. Here's the snippet I usually use.

List all files greater than 50MB

sudo su -
find / -xdev -type f -size +50M -exec ls -alh {} \;