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.
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!)
You need to create an account or log in to post comments to this site.
» List 10 largest files/direct... in shell unix disk usage du
» Reverse DNS from command line in shell osx unix linux
» get rid of mac's ._ meta fil... in shell mac unix linux
» Getting a less verbose list ... in ruby shell bash unix gem rubygems
» opening in a textmate projec... in grep regex shell osx mac unix textmate
» Remote FTP transfer with ncf... in sysadmin shell unix ftp
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails