From owner-freebsd-questions@FreeBSD.ORG Wed Oct 3 12:42:24 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AC7C16A417 for ; Wed, 3 Oct 2007 12:42:24 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0447F13C4B8 for ; Wed, 3 Oct 2007 12:42:23 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id E01141CDEE for ; Wed, 3 Oct 2007 04:42:22 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 3 Oct 2007 14:42:21 +0200 User-Agent: KMail/1.9.7 References: <94136a2c0710012212x506ebc0ajf76ef69ec2f36720@mail.gmail.com> <94136a2c0710012223q64102a41y93f3f983fcfc0137@mail.gmail.com> <20071002144846.GC76893@gizmo.acns.msu.edu> In-Reply-To: <20071002144846.GC76893@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710031442.21807.fbsd.questions@rachie.is-a-geek.net> Subject: Re: determining the space used in / partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2007 12:42:24 -0000 On Tuesday 02 October 2007 16:48:46 Jerry McAllister wrote: > 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