Which two statements are correct?

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 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.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


tam

tam

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