file listing ...

Hi experts,

I have several hundred files for everyday each month (below example is September)-

PP023149200709010546.......PP028023200709012300

PP023150200709020023.......PP026096200709022134
..
..
PP021256200709201920.......PP025576200709202218
..
..
PP022245200709301044.......PP027734200709302348

Now how can i list ('ls' command) the files if need to see september 01 to 10 (i.e. 20070901 to 20070910). ALL files remains in same directory.
please advise.

ls PP??????2007090[0-9]* PP??????20070910*

Its works...many thanks....Just one query what is difference between using "?" & "*"

I use it for December files.
I notice If i use * in replace of ? i find there are some extra files showed which doesn't belong to December.
The reason is the file number format- TT020071200710200555

? is a wildcard for a single char.

  • will expand to any number of chars