? stands for one character. For example if you want to list all the files that start with fin and has one additional character in the name, give the following command: ls -l fin*
.
<mendelson:~/ceng111> ls -l
-rw-r--r-- 1 selcuk 0 Oct 6 11:14 fin
-rw-r--r-- 1 selcuk 0 Oct 6 11:14 fina
-rw-r--r-- 1 selcuk 0 Oct 6 11:14 final
-rw-r--r-- 1 selcuk 0 Oct 6 11:14 finb
-rw-r--r-- 1 selcuk 0 Oct 6 11:14 grab
<mendelson:~/ceng111> ls -l fin?
-rw-r--r-- 1 selcuk 0 Oct 6 11:14 fina
-rw-r--r-- 1 selcuk 0 Oct 6 11:14 finb
Note that only the files that start with fin and has one more letter are displayed.