1Z0-821 practice question 10 of 30

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?

Full set: 243 questions
Answer options
A: The pattern [?i]*a will expand to filea Filea. Correct answer
B: The pattern [fF]*a? will expand to [fF] *a?.
C: The pattern [gfe] * will expand to file filea fileb filec. Correct answer
D: The pattern [g-e] * will expand to file filea fileb filec.
E: The pattern [fF] [a-zA-z] i*e will expand to file.
Correct Answer:
A. The pattern [?i]*a will expand to filea Filea.; C. The pattern [gfe] * will expand to file filea fileb filec.
Explanation

A: starting with one single character, second character must be letter i, any characters, ending with letter a. C: starting with letter e, f, or g, followed by anything.

Scroll to Top