[SLUG] 2 things

Al Girling al at gcguk.demon.co.uk
Sat Mar 18 12:05:45 GMT 2006


On Sat, Mar 18, 2006 at 11:25:04AM GMT, John Allsopp wrote:
> > 1: Is there a command to tell me the largest file within a filesystem
> > hierarchy (from here downwards)?
> 
> ls -RSs seems to help, but doesn't collect it all together.

How about:


$ du -ha <path/to/directory> | sort -n

Al

-- 
Al Girling

Home page:                  <http://al.sdf-eu.org>
Linux User: #290080         <http://counter.li.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/scarborough/attachments/20060318/da5dd52c/attachment.bin


More information about the Scarborough mailing list