[NTLUG:Discuss] quiest way to find out largest file in the disk (use command line) ?

David Camm dcamm at advwebsys.com
Mon Mar 1 08:05:38 CST 2004


i quick way is to go to a directory (say /usr) then do `du -bc|more` and you'll 
see the size of each sub-directory. check out the man page for du .... there may 
be more useful options for you.

david camm

m m wrote:
> suddently, my disk went to 97% usage. (only 3% free space)
> 
> Is there any way to list top 10 lagest files in the same disk?
> 
> if not, how about in the same directory (includes sub-directories), say 
> /usr or /var ?
> 
> use console/command line only [no X-windows available :( ]
> 
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 





More information about the Discuss mailing list