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:
The files selected would be: file1, file2, file3.file?
- To refer to only the files that start with file and end with any
two characters, use:
The file selected would be: file10.file??