Post History
I agree with other answers: Normal TUI way is ncdu Normal CLI way is du Normal GUI way is Baobab aka "Gnome Disk Usage Analyzer" and the like But just for fun, you can build a pipeline such...
Answer
#1: Initial revision
I agree with other answers: * Normal TUI way is `ncdu` * Normal CLI way is `du` * Normal GUI way is Baobab aka "Gnome Disk Usage Analyzer" and the like But just for fun, you can build a pipeline such as the one below, which finds all files, then uses `stat` to query their size and `parallel` to parallelize it, and finally `sort` and `tail` to print the best one. ``` $ fd | pv | parallel 'echo $(stat -c %s {}) {}' | sort -h | tail -n 10 ``` The performance of this is iffy, so I added pv for some progress info. pv doesn't know how many files there are until fd is done enumerating them, so it won't give % progress, only how much is done. You can convert byte sizes to human size with `cut` and `numfmt`. This does give you more control over the specifics, such as if you want to look at only a certain subset of files. You can do that with `du` as well, but this way you get to use more familiar generic tools rather than `du`s specialized syntax.