On Fri, 15 Apr 2005 11:49:38 +1000
Tony Green <[EMAIL PROTECTED]> wrote:
> This will give you the 10 largest files on your hard drive (that can be 
> seen by the user executing the code)
> find / -ls -type f 2>/dev/null | awk '{print $7 " " $11 }' | sort -nr | 
> head -10


Not that it really matters in this case, but in find, the '-type f' has
to come before the action (-ls, -print) to be effective.

Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to