6 ms·
What you're looking for is du -hc | sort -hn | tail No need to visit subdirectories. Throw in a tee /tmp/du.out before the tail to make your life easier.
by kbenson 9y ago
What you're looking for is
du -hc | sort -hn | tail
No need to visit subdirectories. Throw in a tee /tmp/du.out before the tail to make your life easier.