Puqing wrote: > This one? > > for i in access.log.*; do echo ${i##access.log.} $i; done|sort -n Work very nicely. Thank you very much for sharing the above script. P.V.Anthony