Re: sorting /home directories

From: Joe Filla (foo_at_example.com)
Date: 06/17/03


Date: Tue, 17 Jun 2003 12:05:54 -0700


"Tony" <tonyw@suse.stanford.edu> wrote in message
news:bce1sf$4d7$1@news.Stanford.EDU...
> what is the command to list all directories and subdirectories under /home
> sorting by size?

I like this on FreeBSD to sort on first level directories:
du -chd 1 . | sort -n



Relevant Pages

  • Re: A Fast sorting algorithm for almost sorted data
    ... far my compressor has potential but is nowhere near ready. ... It does however make heavy use of sorting. ... which I am currently calling Run sort. ... entire selected run can be added to the sorted output array. ...
    (comp.compression)
  • Re: Solution for sorting an array alpha-numerically
    ... strings up into groups and sorting the groups seperately, ... > so that numeric and alphabetic data sort as seperate groups. ... To the same project as the web page, add the class AlphaNumCompare() ...
    (microsoft.public.dotnet.general)
  • Re: how fast can I sort on mainframe (using DFSORT)?
    ... Since I joined the team as the performance lead a couple years ago, ... Frank now defers these types of questions to me. ... I have been out of the sorting business for a while, ... Writing to sort work files should not be the problem, ...
    (bit.listserv.ibm-main)
  • Re: except tasks from sorting
    ... position out of any sort key. ... But we will sorting subsequently. ... sort key is a Text ... hint to filtering the tasks before ...
    (microsoft.public.project)
  • Re: Guido rethinking removal of cmp from sort method
    ... "If anyone has any use-cases for sorting with a comparison function ... Google approached him with a use-case where a key-based sort did not ... there will be a user for which this demand of extra memory ...
    (comp.lang.python)