[Gllug] Small shell script challenge

ben f ben_m_f at yahoo.co.uk
Tue Dec 16 14:28:51 UTC 2003


 --- "Martin A. Brooks" <martin at clues.ltd.uk> wrote: >
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

No point having -h and -b at once!

boy, being that pernickety kinda feels bad ;)

Ben

________________________________________________________________________
BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st December 2003. The way the internet was meant to be. http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list