Pattern matching using the ? wildcard character

Use the ? to match any one character.

The ? indicates any single character. See the following examples:
  • To refer to only the files that start with file and end with a single character, use:
    file?
    The files selected would be: file1, file2, file3.
  • To refer to only the files that start with file and end with any two characters, use:
    file??
    The file selected would be: file10.