Hi All,
I'm trying to list some files from my log directory
and files are like this
log.20110302_20.gz
log.20110302_21.gz
log.20110302_22.gz
log.20110302_23.gz
log.20110303_00.gz
log.20110303_01.gz
log.20110303_02.gz
............
log.20110311_22.gz
log.20110311_23.gz
log.20110312_00.gz
log.20110312_01.gz
log.20110312_02.gz
log.20110312_03.gz
log.20110312_04.gz
log.20110312_05.gz
Here 20110312 for the above 2011-Year 03-Month 12-date
so i want ot display files from 3rd march to 11 march
And i used command like this
ls -lrt [log.20110303*-log.20110312*]
But its displays error
Kindly help on this
Regards
Thelak