On Fri, Aug 03, 2001 at 03:40:43PM -0700, Robert G. Scofield wrote:
> I've had some kind of crash and the last 50 megs of my hard disk have 
> been taken up with something.  I can't find a core file.  However, I 
> know that there is a command that will show you which of your files are 
> taking up the most space.  Bill posted it once.  Can anybody tell me 
> what that command is?

You can run "du" to get a list of disk usage by directory (it's recursive)

.. From there youc an sort it numerically with " | sort -n"

And at that point, you can just have it spit out the biggest of the
lot by running "| tail"


So something like:

  du | sort -n | tail


See the man pages for these three guys for details.

-bill!

Reply via email to