nerdexam
Oracle

1Z0-409 · Question #112

View the Exhibit. Which command would give you the output shown in the Exhibit?

The correct answer is B. grep -ni root /etc/passwd. See the full explanation below for the reasoning.

Question

View the Exhibit. Which command would give you the output shown in the Exhibit?

Exhibit

1Z0-409 question #112 exhibit

Options

  • Agrep root /etc/passwd
  • Bgrep -ni root /etc/passwd
  • Cawk '/bash$/' /etc/passwd | grep root
  • Dawk -F: '/bash$/ {print $0}' /etc/passwd | grep root

How the community answered

(34 responses)
  • A
    15% (5)
  • B
    76% (26)
  • C
    3% (1)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice