A user jack, using a korn shell, requests a directory listing as follows:
jack@solaris:/export/home/jack $ 1s File filea Filea fileb Fileb filec Filec Which two
statements are correct?
A.
The pattern [gfe] * will expand to file filea fileb filec.
B.
The pattern [g-e] * will expand to file filea fileb filec.
C.
The pattern [fF]*a? will expand to [fF] *a?.
D.
The pattern [?i]*a will expand to filea Filea.
E.
The pattern [fF] [a-zA-z] i*e will expand to file.
A,B
A,D
root@sol11-client:/export/home# ls
File filea Filea fileb Fileb filec Filec test
root@sol11-client:/export/home# ls | grep [?i]*a
filea
Filea
root@sol11-client:/export/home# ls | grep [g-e]*a
filea
Filea
A,B,D