In general on a UNIX-like system (Linux, AIX) the following can list file/directory sizes in MByte, even if the filename is starting with a "-":
du -sm -- * 2>/dev/null | sort -nr | head -25
But this doesn't list the directories/files that are "hidden", so starting with a ".".
How can I do that in general?
This solution isn't good:
du -sm -- .* 2>/dev/null | sort -nr | head -25
Because it counts ".." too, and that could be slow..