nerdexam
Oracle

1Z0-876 · Question #1

Val has gathered information about the data stored in her home directory using the following command line. $ du -sk * | sort -n | tail > file2 Which answer correctly describes what happens when the…

The correct answer is C. The stdout from the du command is sent to the sort command. See the full explanation below for the reasoning.

Question

Val has gathered information about the data stored in her home directory using the following command line. $ du -sk * | sort -n | tail > file2 Which answer correctly describes what happens when the command is invoked?

Options

  • AThe tail command redirects stdin to file2
  • BThe sort command redirects stdout to the du command
  • CThe stdout from the du command is sent to the sort command
  • DThe stderr from the tail command will be sent to file2

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    72% (18)
  • D
    16% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-876 Practice