On 18 January 2013 13:06, Keith Edmunds kae@midnighthax.com wrote:
for a in /var/log/syslog*gz;do echo "$a: $(zcat $a 2>/dev/null|head -n 1)";done
Great, thanks! -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG