determining the space used in / partition
fbsd.questions at rachie.is-a-geek.net
Wed Oct 3 05:42:24 PDT 2007
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)'"
More information about the freebsd-questions