[TAG] 2-cent tip: Summing up file sizes

Martin J Hooper martinjh at blueyonder.co.uk
Sun Jul 15 23:42:29 MSD 2007


Ben Okopnik wrote:
> ben at Tyr:/tmp$ for n in `seq 5`; do head -1000c /dev/full >
> foo/$n; done


Ben can you explain this line a bit more?  Its obvious its
looping 5 times to create the files but how is that head command
working? and should that be /dev/null not /dev/full ? ;)






More information about the TAG mailing list