Possible Duplicate:
Is there a way to make bash more TAB friendly?
Suppose we have 2 files in a folder called:
- 1010123_file1
- 1010456_file2
In the Mac OS X Terminal, when I tab twice, it lists me both files and instantly puts "1010" for me. is there anyway to choose the individual files using the keyboard. the up button pulls up previous commands.
I have many files with a naming convention of <timestamp>_filename and it's annoying to have to look after the leading characters.

1or4, then pressTabagain. – Daniel Beck♦ Apr 22 '11 at 16:25