Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2007 14:42:21 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: determining the space used in / partition
Message-ID:  <200710031442.21807.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <20071002144846.GC76893@gizmo.acns.msu.edu>
References:  <94136a2c0710012212x506ebc0ajf76ef69ec2f36720@mail.gmail.com> <94136a2c0710012223q64102a41y93f3f983fcfc0137@mail.gmail.com> <20071002144846.GC76893@gizmo.acns.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 02 October 2007 16:48:46 Jerry McAllister wrote:

<hijack>

> That gets the summary of each directory and file in
> that directory_of_interest.    I like the 'k' better than 'h' because
> the 'h' doesn't use the same divider for each displayed file or directory.
> It uses the biggest for each with a letter appended to tell which.   This
> is a little difficult to quickly compare with a visual scan.   With the 'k'
> it is always 1,000 and then I can run my eye down the list and easily see
> which file is bigger/smaller, etc.

Well, du -sh *|grep '[MG]' does the same ;)

I actually have an alias using this:
alias dubig="du -sh *|egrep '([0-9][0-9][0-9]M|[0-9]G)'"
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710031442.21807.fbsd.questions>