[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OOo2.0 space concern



On Tue, Oct 25, 2005 at 01:58:11AM -0400, kamaraju kusumanchi wrote:
> Mark Grieveson wrote:
> 
> >
> >
> >300 MB of space would have been fine.  However, before the install, I 
> >had over 10 (ten) GBs of space left on my 40 GB drive.  Afterward, I 
> >was down to 1 (one) GB left; so, something went wrong somewhere.  Is 
> >there a way to list files by filesize?  A program, or command similar 
> >to "ls" that lists files, but sorts them in order of filesize?  This 
...
...
> 
> To sort files in the order of the size use
> du --max-depth=1 -m / | sort -g
> 
> replace / with the corresponding directory. More information can be 
> found in 'man du', 'man sort'

Or
	ls -s
which can also be written
	ls --size

-- hendrik



Reply to: