nerdexam
Oracle

1Z0-876 · Question #142

Click the Exhibit button. Within the exhibit, "Listing 1" displays the original files contents, and "Listing 2" is the result from one of the following commands. Select the command that produced…

The correct answer is A. grep [ak]sh$ userdata. See the full explanation below for the reasoning.

Question

Click the Exhibit button. Within the exhibit, "Listing 1" displays the original files contents, and "Listing 2" is the result from one of the following commands. Select the command that produced this output.

Exhibit

1Z0-876 question #142 exhibit

Options

  • Agrep [ak]sh$ userdata
  • Bgrep [akAK]sh userdata
  • Cgrep (a|k)sh userdata
  • Dgrep [^ak]sh$ userdata
  • Egrep ash userdata ; grep ksh userdata

How the community answered

(21 responses)
  • A
    76% (16)
  • C
    5% (1)
  • D
    5% (1)
  • E
    14% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-876 Practice