[Gllug] Small shell script challenge

Martin A. Brooks martin at clues.ltd.uk
Tue Dec 16 14:10:52 UTC 2003


On Tue, 2003-12-16 at 13:56, Richard Jones wrote:
> Using something like:
> 
> ls -lR dir | awk '{print $5}' | ....
> 
> I can get a list of numbers (actually including some blank
> lines). What's the quickest way to add up those numbers?

du -shb
-- 
Martin A. Brooks, Clues Ltd
http://www.clues.ltd.uk/

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list