exam questions

Exam 1z0-821 All Questions

View all questions & answers for the 1z0-821 exam

Exam 1z0-821 topic 1 question 4 discussion

Actual exam question from Oracle's 1z0-821
Question #: 4
Topic #: 1
[All 1z0-821 Questions]

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 [?i]*a will expand to filea Filea.
  • B. The pattern [fF]*a? will expand to [fF] *a?.
  • C. The pattern [gfe] * will expand to file filea fileb filec.
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️
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.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
tsss
8 months ago
this only true when pattern A is ?[i]*a
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...