nerdexam
Oracle

1Z0-409 · Question #104

The cut -d: -f 1,3,8 /etc/passwd command is issued on a Linux system. Which statement about the output is true?

The correct answer is B. It displays all the users and the corresponding UIDs from the /etc/passwd file separated by a. See the full explanation below for the reasoning.

Question

The cut -d: -f 1,3,8 /etc/passwd command is issued on a Linux system. Which statement about the output is true?

Options

  • AIt displays an error because /etc/passwd has only seven fields.
  • BIt displays all the users and the corresponding UIDs from the /etc/passwd file separated by a :
  • CIt displays all the users, corresponding GIDs, and login shell from the /etc/passwd file separated
  • DIt displays all the users, corresponding UIDs, and login shell from the /etc/passwd file separated

How the community answered

(60 responses)
  • A
    10% (6)
  • B
    83% (50)
  • C
    5% (3)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice