Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

List 10 largest files/directories within the current directory (See related posts)

From the textdrive fora

du -sk * | sort -n | tail -10

This will list the top 10 largest files and/or directories below the directory where you run this command.

Comments on this post

drs posts on Apr 03, 2007 at 13:53
little improvement
du -sk * | sort -nr | tail -10

You need to create an account or log in to post comments to this site.

Related Posts