Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 1999 16:44:10 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        Ben Smithurst <ben@scientia.demon.co.uk>
Cc:        cjclark@home.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: hopefully three simple questions
Message-ID:  <Pine.GSO.3.96.991209164209.6822A-100000@sol.cs.binghamton.edu>
In-Reply-To: <19991209201115.B1271@strontium.scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 9 Dec 1999, Ben Smithurst wrote:

> Crist J. Clark wrote:
> 
> > Zhihui Zhang wrote,
> > 
> >> (2) How to find the largest directory in a filesystem? I mean the one
> >> with the maximum number of files in it. 

I have found a solution (hopefully correct):

# find / -type d -ls | awd '{print $2, $11}' | sort -n | tail

-Zhihui



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.991209164209.6822A-100000>