[Linux-disciples] du, narrowed a bit
Dylan Thurston
dpt at bostoncoop.net
Thu Aug 12 00:20:46 EDT 2004
On Thu, Aug 12, 2004 at 12:16:38AM -0400, Dylan Thurston wrote:
> On Wed, Aug 11, 2004 at 11:50:50PM -0400, Stephen R Laniel wrote:
> > I see in 'df' that one of my partitions is more full than I
> > expected it to be:
> >
> > Filesystem Size Used Avail Use% Mounted on
> > /dev/hda1 9.3G 7.6G 1.3G 86% /
> >
> > I'd like to see which files on that mount point are taking
> > up space. But if I do 'du /', I'm going to get a list of
> > every file beneath / -- including /home, which is on a
> > different volume. So how can I get a listing of all the
> > files on /dev/hda1, preferably sortable by size?
>
> du -x / | sort -n
By the way, if you want to look by package rather than by file, you can
convince aptitude to sort by installed size.
Peace,
Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040812/37f1cc3a/attachment.pgp
More information about the Linux-disciples
mailing list