Which three statements are correct?

A user jack, using a bash shell, requests a directory listing as follows:

Which three statements are correct?

A user jack, using a bash shell, requests a directory listing as follows:

Which three statements are correct?

A.
The pattern dir? will expand to dira dirb dirc.

B.
The pattern dir*a will expand to diraa.

C.
The pattern dir*a will expand to dira diraa.

D.
The pattern dir*b? will expand to dirabc.

E.
The pattern dir*b? will expand to dirb dirabc.

Explanation:
A: dir followed by a single letter.
C: dir followed by any characters ending with a.
D: dir followed by any characters, then character b, then one single character.
only dirabc matches



Leave a Reply 0

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